Image Info, Colour Picker and Base64

Drop an image to read its real dimensions, ratio and byte size. Click anywhere on the preview to sample a colour, copy the Base64 data URL, or paste one back to rebuild the image. All local.

Drop an image here, or click to choose

Any image your browser can decode — read entirely in this tab

File facts

Colour picker

Click the image
—

Base64 data URL

Quick conversions

Questions this tool answers

How is the aspect ratio worked out?

From the decoded pixel dimensions, reduced by the greatest common divisor. The decimal form is width divided by height. No DPI or display scaling is involved.

Does sampling a colour change the image?

No. It reads one pixel from a canvas copy. The original file is untouched.

What is the Base64 field for?

It is the standard data URL for the exact bytes you dropped. You can copy it into CSS, HTML or an API payload, and paste one back to get the image file.

Is anything uploaded?

No. Everything here — the file read, pixel sampling and Base64 encoding — happens inside this browser tab.