All Tools View Categories Blog About Contact Privacy

Compress Image to 1 MB

Compress any image to under 1 MB — in your browser, with nothing uploaded. The tool searches encoder quality settings to land as close to 1 MB as it can without going over, and only reduces dimensions when the target cannot be reached any other way.

Drop images here, click to browse, or paste from the clipboard
JPG · PNG · WebP · GIF · BMP · SVG  ·  as many files as you like  ·  nothing is uploaded

Everything worth knowing about the 1 MB target

What 1 MB can realistically hold, how the tool actually reaches it, which format to pick, what quality to expect, and where this budget is the right choice rather than an arbitrary one.

Compressing to 1 MB: what the number actually means

One megabyte is rarely a web performance target and almost always an upload ceiling. Mail systems, application portals, content platforms, insurance and claims systems, cloud forms and countless internal tools all draw the line at 1 MB, and a modern phone or camera file lands somewhere between three and thirty times over it. The task is not to make the image small; it is to make it fit while giving away as little as possible.

That framing changes what good looks like. At tighter budgets you accept visible compromises to hit the number. At 1 MB there is usually no compromise to accept: an ordinary photograph at 3400 pixels wide fits comfortably, which is more resolution than any screen use requires and enough for a decent-sized print. The right approach is to preserve as much as possible and let the file land wherever it lands beneath the ceiling.

The tool does exactly that: it finds the highest quality setting that stays under 1 MB, keeps your original dimensions unless it genuinely cannot, and tells you precisely what it used. Very often the result comes in well below the limit, because the encoder reaches the top of its useful quality range before it reaches the ceiling — which is the best possible outcome.

Why people choose the 1 MB target

One megabyte is almost never a performance target and almost always a limit somebody else set. Mail systems, claims portals, application forms, content platforms and internal tools all draw the line here, and a modern camera file lands three to thirty times over it. The task is not to make the image small; it is to make it fit while giving away as little as possible.

That framing matters, because it changes what a good result looks like. At tighter budgets you accept visible compromises to hit the number. At 1 MB there is usually no compromise to accept at all — an ordinary photograph at 3400 pixels fits comfortably, which is more resolution than any screen needs. If your result lands well under the ceiling, that is success, not waste.

Why a target size beats a quality slider

Every image editor asks you for a quality number and then tells you the file size afterwards. That is backwards for the problem most people actually have, which is a fixed ceiling — an upload form, a page budget, a mailbox limit — and no idea which quality setting will land underneath it. The usual result is a loop: export at 70, check, export at 50, check, export at 60, give up somewhere in the middle.

This tool inverts the relationship. You give it the ceiling and it searches for the quality, using a bisection over the encoder settings that converges in a handful of attempts. That is why it can hit 1 MB reliably on the first pass, and why it can tell you afterwards exactly which quality it used — which is useful information, because it tells you how much headroom you had.

What the tool does not do

It does not upload anything, so it cannot use a server-side encoder like MozJPEG or a full WebP encoder with custom tuning. It uses the encoders built into your browser, which are good but not state of the art. It also does not perform content-aware operations — no smart cropping, no subject detection, no upscaling. And it will not make a compressed file better than its source: compressing an image that has already been through a lossy pass compounds the damage, so always start from the best original you have.

About Compress Image to 1 MB

This tool compresses any image you give it to under 1 MB, in your browser, without uploading anything. Drop in a JPG, PNG, WebP, GIF, BMP or SVG and it decodes the file, searches encoder quality settings to find the highest one that still fits inside 1 MB, and hands back the result with the exact final size, the dimensions, the quality setting it used and a fidelity score measuring how far the output has drifted from the original.

Where quality alone cannot reach 1 MB — which happens on tight budgets and very large source images — it reduces the dimensions progressively and re-encodes until the file genuinely fits, then tells you the scale factor it applied. You get the largest, cleanest image that will actually fit the target rather than a file that misses it.

The upload-limit ceiling: this page covers what 1 MB can realistically hold, which formats behave best at that size, and where the budget is genuinely the right choice.

Features

  • Exact target search: Binary search across encoder quality settings to land as close to 1 MB as possible without exceeding it.
  • Automatic downscaling fallback: When quality alone cannot reach 1 MB, dimensions are reduced progressively until the file fits, with the scale factor reported.
  • Batch processing: Drop in a whole folder; every file is processed independently against the same target.
  • Format control: Auto, JPEG, WebP or PNG output, with auto choosing per file based on whether the image is photographic or has transparency.
  • Dimension limits: Set a maximum width and height and the image is fitted inside that box with its aspect ratio kept.
  • Before-and-after comparison: A draggable slider over the original and the result at full size, so you can judge the trade rather than guess at it.
  • Fidelity score: A peak signal-to-noise ratio for every file, telling you objectively how much was lost.
  • ZIP download: Take the entire batch as one archive, built in the browser with no library and no server.
  • Metadata stripped: EXIF, GPS coordinates and camera details are discarded during re-encoding, which is a privacy benefit worth knowing about.
  • Nothing uploaded: Every step runs locally through the Canvas API. The tool works with the network disconnected.

How to Use

  1. Add your images — drag them onto the drop zone, click to browse, or paste from the clipboard. Multiple files at once are fine.
  2. Check the target — it is preset to 1 MB. Lower it slightly if you are compressing to satisfy an upload limit, since some systems measure the whole request rather than the file.
  3. Pick an output format — auto is right most of the time. Choose WebP for the smallest files, JPEG for maximum compatibility, PNG for screenshots, logos and anything with text.
  4. Set maximum dimensions if it matters — capping the width is what turns a byte budget into a sharp image rather than a soft one.
  5. Compress — each file is processed and appears in the results table with its before and after size, dimensions, quality and fidelity score.
  6. Check one result — open the comparison slider on a representative image before committing to a large batch.
  7. Download — take files individually or the whole batch as a single ZIP.

Examples

Example 1 — an email attachment set: Eight photographs straight from a camera totalling 187 MB are compressed to a 950 KB target. The set drops to 7.4 MB, sends as one message without trouble, and every image still looks perfect full screen.

Example 2 — a claims portal with a 1 MB cap: Twelve phone photographs of damage, each 4 to 6 MB, are compressed to 950 KB with the maximum width capped at 2400. All twelve upload on the first attempt and the detail needed for assessment is fully preserved.

Example 3 — an archive pass: A library of 4,000 photographs occupying 62 GB is processed in batches with a 1 MB ceiling. The archive falls to roughly 3.4 GB, remains excellent for viewing and sharing, and the untouched originals stay on separate cold storage for anything that needs printing.

Benefits

  • Hit the number first time: No exporting at quality 60, checking the size, exporting again at 45. The tool searches for you.
  • Pass upload limits that reject camera files: A phone photo is many times over a 1 MB cap; this closes the gap in one step.
  • Keep as much quality as the budget allows: Quality is reduced before dimensions, so you never lose resolution unnecessarily.
  • Judge the trade honestly: A comparison slider and an objective fidelity score instead of a vague promise about quality.
  • Process a folder in one pass: Batch compression with a per-file report and a single ZIP download.
  • Keep your images private: Nothing is uploaded, nothing is stored, and the tool works offline.
  • Strip location data automatically: Re-encoding removes EXIF and GPS, which matters when sharing photographs publicly.
  • Free, with no account and no watermark.

Frequently Asked Questions

What resolution fits in 1 MB?
An ordinary photograph reaches roughly 3500 × 2630 in WebP or 2780 × 2080 in JPEG. Detailed images land nearer 2520 × 1890 in WebP, and simple photographs can pass 4000 pixels. That is more resolution than any screen needs, which is why 1 MB is usually a comfortable ceiling rather than a tight one.
Is 1 MB good enough for printing?
For prints up to roughly A5 at 300 dpi, yes. For A4 and larger you want the original file — print needs several times the pixel data that screen viewing does. Compress for sharing and viewing, and keep the original for anything that will be printed large.
My upload form says 1 MB but still rejects my file. Why?
Usually because the limit applies to the whole request rather than the file alone, and multipart or base64 wrapping adds overhead. Target 950 KB instead and the problem generally goes away. Some systems also apply a separate pixel-dimension limit that has nothing to do with file size.
Why did my 1 MB target produce a 600 KB file?
Because the encoder reached the top of its useful quality range first. Extra bytes beyond that point buy detail nobody can perceive. If you want to use the headroom, raise the maximum dimensions rather than the quality — more pixels is a real improvement, more quality at this level is not.
Is 1 MB too large for a web page?
For a web page, yes, in almost every case. This budget exists for upload limits, attachments and archives. If the image is going on a page, use 100 to 300 KB and serve responsive sizes; a 1 MB image will hurt your largest contentful paint badly on mobile.
Can I compress a 50-megapixel photo to 1 MB?
Yes, but cap the dimensions or it will look soft — 1 MB across 50 megapixels is about a fiftieth of a byte per pixel, far below what any encoder needs. Set the maximum width to 3000 and the same megabyte produces an excellent image.
How many photos can I process at once?
As many as your memory allows. Very large files consume a lot of memory while decoding, so a batch of a hundred 50-megapixel images may struggle on a modest machine. Process in groups if a large batch stalls, and use the ZIP download to collect each group.
Does compressing to 1 MB remove metadata?
Yes — EXIF, GPS coordinates, camera details and colour profiles are all discarded when the image is re-encoded through a canvas. That is useful for privacy when sharing photographs, and a reason to keep the original if you rely on that data.
Will this reduce a PDF or a document?
No, this tool works on images only. If your document is a scanned image saved as a PDF you will need a PDF tool; if you have the page as a JPEG or PNG, compress it here and reassemble the PDF afterwards.
Is anything uploaded to a server?
No. Every step runs locally in your browser through the Canvas API. Your images are never transmitted, never stored and never logged, and the tool keeps working if you disconnect from the network after the page has loaded.

More Image Tools

View All