Skip to main content
docsmall
Credits left today

Contact us

For feature suggestions, usage questions, or credit and order issues, email us at the address below.

Send email

Free Online JPG Compressor

Shrink JPG and JPEG photo file sizes in batches without changing pixel dimensions

docsmall compresses JPG and JPEG photos entirely in your browser: process up to 30 files at once (PNG and WebP also work in the same queue), up to 25 MB each. Pick from 85%, 75%, 50%, or 20% quality levels, keep original file names if needed, and download individually or as a ZIP without uploading a single photo.

Choose or drop JPG photos to compressDrag JPG or JPEG files here, or use the button below (PNG and WebP also work)Up to 30 images, 25 MB max per file — built for JPG/JPEG (PNG & WebP also accepted)
Price
Free, no sign-up or limits
Processing
Local in your browser, no uploads
Formats
JPG & JPEG (PNG, WebP also accepted)
Batch limits
Up to 30 images, 25 MB each

Camera exports and modern smartphone photos routinely weigh 3 MB to 10 MB, hitting upload caps on web forms, email clients, and CMS dashboards. This tool re-encodes your JPGs locally in Web Workers across four predictable quality tiers while keeping original pixel dimensions intact.

  • Original dimensions preserved: a 4000 × 3000 JPG stays 4000 × 3000 while shedding redundant encoded bytes
  • Non-cumulative re-compression: switch freely between 85%, 75%, 50%, and 20% — every run starts fresh from your original JPG
  • Local privacy & flexible naming: zero server uploads, toggle original file names or _compressed suffix, and bundle 2+ results into a ZIP

How to compress JPG images online

Add your JPG or JPEG photos, choose a quality tier, and save individual files or a single ZIP — all locally in your browser.

  1. Add up to 30 JPG or JPEG files

    Click to browse, drag photos into the drop zone, or paste directly with Ctrl+V / ⌘V on desktop. Up to 30 files per batch, 25 MB each (PNG and WebP also work in the same queue).

  2. Pick a quality level and naming preference

    Choose Slight (85%), Normal (75%), Strong (50%), or Extreme (20%), decide whether to keep original file names, then click Start compressing.

  3. Check savings and download

    Review original size, compressed size, and percentage saved per photo. Switch tiers and click Compress again if needed, then download individually or click Download ZIP for 2+ files.

Complete Guide to Compressing JPG / JPEG Photos

Understand how browser-local JPEG re-encoding works, how to choose among the four quality tiers, when resizing beats heavier compression, and what happens to EXIF metadata and file names.

What is JPG compression, and how is it different from resizing?

JPG (identical to JPEG) is a lossy format built for continuous-tone photography. Compressing a JPG re-encodes the same pixel grid with a lower JPEG quality factor, discarding subtle high-frequency color detail that human eyes rarely notice so the file uses far fewer kilobytes or megabytes.

Unlike resizing, JPG compression never alters width or height: a 4000 × 3000 photo remains 4000 × 3000. At normal viewing sizes, a well-chosen compression tier looks virtually identical to the original while loading faster and passing strict upload caps.

  • Same pixel dimensions: shrinks file bytes without cropping or scaling.
  • Same JPG format: .jpg and .jpeg inputs stay standard JPEG outputs.
  • Originals untouched: compressed files download separately while source photos stay safe on disk.

How does docsmall compress JPGs in your browser?

When you start a batch, up to three Web Workers decode your JPGs via createImageBitmap and re-encode them through OffscreenCanvas at your chosen quality factor — 0.85 (Slight), 0.75 (Normal), 0.50 (Strong), or 0.20 (Extreme). Nothing is sent to a remote server.

Whenever you switch tiers and click Compress again, each Worker reads the original file you added rather than re-compressing the previous output. That lets you test multiple levels without stacking generation loss.

If a photo was already heavily compressed and re-encoding produces a larger or equal file, the tool discards the bigger output, keeps your original file ready for download, and marks the row as Already optimal.

  • Up to 3 parallel Web Workers keep the tab responsive during batch runs.
  • Every re-compression starts from the original JPG, preventing cumulative blur.
  • Built-in size guard preserves the original file whenever compression yields no saving.

How to balance quality and artifacts across 85%, 75%, 50%, and 20%

JPEG compresses images in 8 × 8 pixel blocks with chroma subsampling. Between 75% and 85%, most landscapes, portraits, and product shots show minimal visible difference at normal display sizes. At 50%, file size drops aggressively, though smooth sky gradients, deep shadows, or sharp overlaid text may show subtle blocking.

The 20% Extreme tier prioritizes minimum byte size for rough previews, placeholders, or low-bandwidth transfers and introduces visible artifacts. Always inspect compressed photos at their actual display width rather than zooming to 100% on an oversized camera file.

  • Slight (~85%): photography portfolios, hero product images, photos with fine text.
  • Normal (~75%): default balanced tier for blog posts, ecommerce detail pages, and web banners.
  • Strong (~50%): email attachments, portal upload limits, feed previews, and thumbnails.
  • Extreme (~20%): temporary previews or placeholders — always verify readability first.

Oversized phone photos: resize first or compress directly?

Modern phone cameras shoot 4000 × 3000 or 6000 × 4000 JPGs that weigh several megabytes. If your website, resume, or application portal only needs an image 800 px to 1200 px wide, crushing a 4000 px photo down to 20% quality still wastes bytes and ruins clarity.

For much sharper, smaller results, trim dead margins with the Image Crop tool, scale the pixel dimensions down to your target display width with the Image Resizer, and then run Normal or Slight compression here. Fewer pixels at 75% quality almost always beat huge dimensions at 20%.

  • When pixels far exceed display width, resize first and compress lightly.
  • When you must keep full resolution, compress directly with Normal or Slight.
  • Cropping unused borders before compressing eliminates wasted bytes.

EXIF metadata, file naming, and ZIP downloads

Because the browser decodes and re-encodes pixels through a canvas, original EXIF camera settings, GPS coordinates, XMP tags, and embedded ICC color profiles are stripped from the compressed JPG. For web and social sharing, this trims extra kilobytes and prevents accidental location leaks.

Use the Keep original file names checkbox next to the compression tabs to control output naming (saved in your browser’s local storage). Checked keeps photo.jpg; unchecked appends _compressed (photo_compressed.jpg) so you can store compressed copies alongside originals. With 2 or more finished files, Download ZIP bundles everything into docsmall-image-compressed.zip using fast STORE packaging, adding -2, -3 suffixes if duplicate names occur.

  • Strips EXIF, GPS location, and XMP metadata for leaner, cleaner web files.
  • Keep original file names or append _compressed, remembered across visits.
  • One-click ZIP bundling for 2+ images using fast STORE mode with duplicate protection.

Common use cases for JPG compression

Photos make up the heaviest portion of most websites, emails, and document uploads. Batch local JPG compression pays off immediately in these everyday workflows.

  • Websites and blogs: shrink hero photos and article visuals to improve page load speed and LCP.
  • Ecommerce product catalogs: batch-optimize up to 30 studio shots while preserving original dimensions.
  • Email and application forms: bring ID scans, headshots, and photographed receipts under strict attachment caps.
  • Pre-processing before PDF creation: shrink bulky phone JPGs here before combining them with JPG to PDF so the final PDF stays light.
  • Client previews and portfolios: share crisp 85% JPG proofs while keeping unedited originals archived locally.

Are my JPG photos uploaded? How is privacy protected?

Never. File reading, JPEG decoding, re-encoding, and ZIP assembly happen strictly inside your browser’s local memory and Web Workers. No image bytes are sent to docsmall servers, and no cloud copies exist.

That makes the tool suitable for sensitive photos such as ID documents, signed contracts, medical records, or unreleased product shoots. Results exist only in the active tab and are cleared as soon as you refresh or close it, so download your files before leaving.

Limits, compatibility, and what to keep in mind

Each batch supports up to 30 images and 25 MB per file. While tailored for JPG and JPEG, the same queue also accepts static PNG and WebP and keeps each file’s original format. For dedicated format guides, visit Compress PNG, Compress WebP, or the general Image Compressor.

iPhone HEIC/HEIF photos and animated GIFs are not accepted directly: convert HEIC locally with HEIC to JPG first, or optimize animations with the GIF Compressor. Compression uses four fixed quality tiers rather than an exact target-KB box; to hit a strict limit like 200 KB, combine Strong mode with the Image Resizer.

Canvas re-encoding strips EXIF/GPS/ICC metadata and outputs standard 8-bit sRGB JPEG. If you are unsure whether to compress, resize, or split an oversized upload, read our guide: File Too Large to Upload? How to Choose Between Compressing, Resizing, and Splitting.

How different types of JPGs respond to compression

Savings depend heavily on where your JPG came from and how aggressively it was already encoded.

Phone & camera originals
Typical size & traits
3–15 MB, high resolution with EXIF & high bitrate
Compression headroom
Largest headroom; 75%–85% cuts size sharply with near-identical look
Suggested tier
Slight (85%) or Normal (75%); resize first if pixels are huge
OutputJPG
Ecommerce & web visuals
Typical size & traits
300 KB–3 MB, product textures, shadows, or overlaid text
Compression headroom
Moderate headroom balancing crisp edges with fast page loads
Suggested tier
Normal (75%) or Slight (85%) to keep text and edges clean
OutputJPG
Messenger & pre-compressed JPGs
Typical size & traits
Tens to hundreds of KB, already re-encoded by apps
Compression headroom
Limited headroom; light tiers may trigger Already optimal
Suggested tier
Try Strong (50%) or reduce pixel dimensions instead
OutputJPG

Choosing among the four JPG compression levels

Not sure where to start? Run one representative photo at Normal (~75%) and inspect it at its final display width.

Slight

~85%

Photography, portfolios, hero images with fine text

Highest fidelity and smooth gradients; moderate reduction.

Normal

~75%

Blog visuals, ecommerce listings, standard web pages

Default sweet spot with strong savings and clean detail.

Strong

~50%

Email attachments, form limits, feed thumbnails

Major size drop; mild blocking may appear if zoomed in.

Extreme

~20%

Rough previews, placeholders, very slow connections

Smallest bytes with clear quality loss; always review first.

Real JPG compression before & after comparison

Pixel dimensions stay 1920 × 960. Drag the slider to inspect mountain textures, road markings, and sky gradients before and after compression.

JPG Photo Sample — Compressed
JPG Photo Sample — Original
OriginalCompressed

Drag left or right to compare JPG detail before and after compression

  • Original JPG 1.47 MB
  • Dimensions 1920 × 960
  • Compressed 219 KB · 85% smaller

Real 1920 × 960 landscape JPG sample (1.47 MB → 219 KB). Actual savings vary by image detail, original bitrate, and chosen level.

6 practical tips for smaller, sharper JPGs

Following the right order of operations saves more bytes without sacrificing visual clarity.

Resize huge camera photos before compressing

Crushing a 4000 px photo to 20% quality creates heavy artifacts. Scale it to your target width (such as 1200–1600 px) with the Image Resizer first, then use Normal quality here.

Crop dead space before encoding

Unwanted margins still cost bytes. Trim the composition first with the Image Crop tool so every compressed pixel earns its keep.

Test one sample photo before a full batch

Portraits, sky gradients, and overlaid text react differently to JPEG loss. Check one photo at its real display width before compressing all 30.

Always re-compress from the original file

Never download a compressed JPG and upload it again for another round. Switch tiers right here and click Compress again — the tool always reads your original file.

Use the naming toggle to protect originals

Keep “Keep original file names” checked for direct drop-in replacement, or uncheck it to append _compressed and keep both versions side by side.

Don’t force UI graphics or transparency into JPG

JPG is built for photos, not crisp logos or transparent icons. Keep those in PNG and optimize them with Compress PNG.

JPG Compression FAQ

Is this online JPG compressor free and unlimited?
Yes. It is completely free with no daily caps, no watermarks, and no account required. All compression runs locally in your browser without using server credits.
Is there any difference between JPG and JPEG?
No. JPG and JPEG are the exact same format; the shorter extension simply comes from older three-character file naming conventions. Both .jpg and .jpeg work identically here.
Will my JPG photos be uploaded to a server?
No. Decoding, JPEG re-encoding, and ZIP creation all run locally inside your browser’s Web Workers. Your photos never leave your device, and memory is cleared as soon as you refresh or close the tab.
Does compressing a JPG change its pixel dimensions?
No. Output width and height stay identical to the original photo. If you also need smaller dimensions, use the Image Resizer or Image Crop tool first.
What JPEG quality corresponds to each of the four levels?
Slight uses roughly 85%, Normal 75%, Strong 50%, and Extreme 20%. Normal is the best starting point for web and ecommerce photos; use Slight for portfolios or text-heavy visuals and Strong for tight email or form caps.
Why does a JPG sometimes show “Already optimal”?
When a JPG was already heavily compressed by a messaging app or previous tool, re-encoding at a lighter tier can produce a larger file. The tool detects this, keeps your smaller original file for download, and labels it Already optimal.
Can I compress a JPG to an exact target size like 200 KB or 100 KB?
This tool uses four quality tiers rather than a target-KB input. To fit a strict limit like 200 KB, first scale the long edge down to 800–1200 px with the Image Resizer, then try Normal or Strong quality here.
Are EXIF camera metadata, GPS tags, and ICC profiles preserved?
No. Re-encoding through the browser canvas strips EXIF, GPS location, XMP metadata, and embedded ICC profiles, resulting in cleaner sRGB JPEGs. Keep a backup of the original file if you need camera metadata intact.
If I switch levels and click Compress again, does quality degrade twice?
No. Each re-compression starts from the original JPG still held in the queue rather than the previous compressed result, so you can compare levels safely.
How does “Keep original file names” work?
Checked by default (and saved in browser storage), it keeps names like photo.jpg for single downloads and ZIP entries. Unchecking it adds _compressed before the extension (photo_compressed.jpg). Duplicate ZIP entries automatically get -2, -3 suffixes.
How many JPGs can I compress at once?
Up to 30 images per batch, with each file up to 25 MB. Oversized or excess files are flagged and skipped without stopping the rest of the queue. When 2 or more images succeed, click Download ZIP to save docsmall-image-compressed.zip.
Can I compress iPhone HEIC photos here?
Not directly. Convert your iPhone HEIC/HEIF photos to standard JPG locally with HEIC to JPG first, then compress the resulting JPGs here if needed.
Can I also add PNG or WebP images to the same queue?
Yes — the queue accepts static PNG and WebP and keeps each image’s original format. For format-specific optimization advice, visit Compress PNG or Compress WebP.
Does JPG compression work on mobile browsers?
Yes. Current iOS Safari and Android Chrome/Edge run local compression directly on your phone. For large batches of high-megapixel photos, keep the tab in the foreground and work in smaller batches if memory is tight.