Check image size in KB, pixels and DPI (or a PDF)

Choose a photo or PDF to see its KB, pixels and DPI, and whether it meets the rules a website gives.

What this tool does

Before you upload, find out whether the website will accept your file. This tool reads the real file type (not just the name), the size, the width and height in pixels, the colour mode, the rotation, and whether a PDF is locked, then compares them with the rules you give it. If something fails, one tap opens the right tool to fix it.

How it works

  1. Choose the photo or PDF you want to upload.
  2. Paste or type the rules the website gives, such as "JPG, under 240 KB, 600 × 600 pixels".
  3. See each rule as passed or failed, and fix the file in one tap.

Questions and answers

What does it check?

The real file type (not just the name), the size in KB or MB, the pixels, the colour mode, the rotation, and whether a PDF is locked.

How many KB is my image?

Choose the file and the result shows its size, and the width and height in pixels. It shows the size counted both ways too: Windows uses 1,024 bytes to a KB and phones and Macs use 1,000.

How do I check the size of a PDF in MB?

Choose the PDF. The result shows its size, in MB when it is large, and its number of pages. Add the limit the website gives to see if it passes.

Does it show the size in cm or inches?

It shows pixels, and the DPI saved in the file when there is one. If you paste a rule given in cm or inches, it is turned into pixels at 300 DPI, or at the DPI the rule gives. To work out pixels for a size in cm or inches yourself, use Resize a photo.

Why would a JPG not be a real JPG?

Renaming a file does not change what is inside. A PNG renamed to .jpg is still a PNG, and many websites notice.

Is my file uploaded?

No. It is checked on your own device.

Related

Helpful guides