Docetta

Get your files ready for any upload form.

Shrink photos and PDFs to the exact size a form asks for, hide private details, make passport photos and more. It all happens on your device, so nothing is uploaded.

What do you want to do?

0 files uploadedFree, no sign-upWorks offlineJPG, PNG, HEIC, WebP, PDF

← All guides

KB, pixels and DPI: what the form is asking for

Upload forms describe a photo with three different kinds of number. They measure different things, and a file has to pass each one.

KB is the weight of the file

KB (kilobytes) and MB (megabytes) say how much space the file takes. 1 MB is about 1,000 KB. A photo straight from a phone camera is usually 2 to 8 MB. Many forms accept only 20 to 200 KB, so the file has to be made much lighter.

Pixels are the width and height

A picture is a grid of tiny dots called pixels. "413 × 531 pixels" means 413 dots across and 531 down. A form that names pixels wants exactly that grid, or one inside a stated range.

cm and DPI describe a printed size

Some forms give the size in centimetres, like 3.5 × 4.5 cm. A file has no centimetres of its own, so a second number is needed: DPI, dots per inch. It says how many pixels are printed in each inch. One inch is 2.54 cm.

Pixels = centimetres ÷ 2.54 × DPI. When a form gives cm but no DPI, 300 is the usual choice.

Size on the formAt 200 DPIAt 300 DPI
3.5 × 4.5 cm (passport size)276 × 354 pixels413 × 531 pixels
2 × 2 inches (5.1 × 5.1 cm)400 × 400 pixels600 × 600 pixels
5 × 7 cm394 × 551 pixels591 × 827 pixels
8.6 × 5.4 cm (ID card)677 × 425 pixels1016 × 638 pixels

Why a file can pass one and fail another

The numbers are linked but not the same. A picture with the right pixels can still be too heavy, and a light file can have the wrong pixels. Some forms also set a smallest file size, so a file can be rejected for being too light.

The quickest fix is to type the form's own numbers into Fit a form's rules. It makes the file match all of them at once and shows a pass or fail for each.

Tools for this

More guides

Result
Original Result

Drag the line across the picture to compare.

Lay the document flat in good light, and fill the frame with it.