Free browser tool

Image Format & Size Converter

Convert a local image to PNG, JPEG or WebP and compare output size before downloading.

Enter your values

PNG, JPEG or WebP · up to 25 MB (25,000,000 bytes) · up to 40 MP

Quality affects JPEG and WebP. PNG uses lossless encoding and ignores this value.

Result

—

Choose an image and convert it.

Original size—
Converted size—
Size change—
Dimensions—

What this tool does

Convert a local image to PNG, JPEG or WebP and compare output size before downloading.

How to use it

  1. Choose a local PNG, JPEG or WebP file up to 25 MB and 40 million pixels.
  2. Choose the output format. Quality applies to JPEG and WebP; PNG ignores it. JPEG replaces transparency with white.
  3. Convert, inspect the preview and actual file size, then download the result. Changing an input clears the previous download.

Formula and method

The browser decodes the image, draws one still image to a canvas and encodes the selected supported format. JPEG transparency is filled with white. MDN: Canvas toBlob()

Worked example

Try WebP at 85% and compare its actual byte size with the original.

Useful for

  • Preparing a web image
  • Comparing image formats
  • Checking file size before publishing

Limits and notes

Browser codec support varies. Animated images become one still image. PNG ignores quality, while JPEG removes transparency over white. Re-encoding may change color or metadata and does not guarantee removing all metadata. Output can be larger; inspect the downloaded copy.

Frequently asked questions

Will the converted file always be smaller?

No. Size depends on the image, format and quality. Compare the original and converted sizes before downloading.

Is my file uploaded?

No. Decoding and conversion happen in this browser. Keep the original and inspect the downloaded copy.

Content basis and verification

· Conversion runs locally in this browser with Canvas. Compare the preview, output format and actual file size, and inspect the downloaded copy because codec support, color, transparency and metadata handling can vary.
Maintained and reviewed by: Easynivo · Report a correction or source change