Compress image to 20 KB online

Squeeze a photo under 20 KB for strict upload limits. Nothing is uploaded; it all happens in your browser.

  • Never uploaded
  • No sign-up
  • No watermark
  • Unlimited
  • Works offline

Drag and drop your photos or a folder. or

Up to 100 MB each

Free to useNo sign-up

Your photos never leave your device. Read the privacy policy.

    How to compress an image

    1. Choose your photos

      Drag and drop your photos, select a folder, or browse files directly from your computer or phone.

    2. Pick a size, or let us choose

      Keep the default Smart mode for balanced quality, or pick a target size like 20 KB, 50 KB, 100 KB, or 200 KB.

    3. Compare and download

      Slide to compare before and after on your photo, then download your compressed image or save all files in a ZIP.

    Smaller in seconds

    Smart mode trims file size while keeping details sharp. It runs on your device, so results take seconds.

    Fit any upload limit

    Pick 20, 50, 100 or 200 KB to meet strict upload limits. The result is never larger than your original.

    Private by design

    Your photos stay on your device and location data is removed. Once loaded, it even works offline.

    Overview

    What is Image Compressor?

    This tool optimizes graphics and photographs down to a 20 kilobyte threshold directly inside your client session. It runs an automated search across lossy JPEG encoding levels to find the highest possible visual clarity that meets strict portal upload caps. No data leaves your computer during the entire conversion sequence.

    Processing

    What happens to your photo

    Four-step on-device pipeline from intake to final encoding without server roundtrips.

    Read

    Opens your photo safely and straightens its rotation.

    Search

    Tries sizes until it finds the smallest one that still looks sharp.

    Save

    Saves it in the best format, with no metadata attached.

    Check

    Keeps your original if the new file would be bigger.

    Private by design

    Photos never leave your device. Nothing is uploaded.

    Runs in the background

    Compression runs in the background, so the page stays fast.

    Big photos welcome

    Handles camera originals up to 100 MB each without freezing.

    Metadata removed

    Location and camera details are removed from every photo.

    Smart or exact

    Let Smart decide, or aim for an exact size in KB.

    Batch and ZIP

    Drop a whole folder and download everything as one ZIP.

    Read the full guide

    Why twenty kilobytes feels impossibly small on modern screens

    Encountering an upload restriction capped at twenty kilobytes often shocks anyone accustomed toward contemporary mobile photography. Smartphone cameras casually capture multi-megabyte pictures packed with millions of subtle hue nuances, rich lens depth, and dense geographic tags. When government intake gates, university registration screens, or employment portals reject submissions exceeding 20 KB, they demand drastic digital dieting. That tiny boundary represents roughly 20,000 bytes (or exactly 20,480 binary units) of storage space, leaving virtually zero allowance for superfluous payload packets.

    Every raw photograph contains immense structural baggage. Uncompressed raster bitmaps allocate three distinct color channels per coordinate, meaning even a modest headshot would instantly overwhelm small ceilings lacking sophisticated mathematical compaction. Reaching such a minuscule quota requires aggressive data reduction, shedding redundant color gradations while defending essential structural edges. Understanding how byte allocations work transforms stressful rejection notices, yielding an orderly editing chore.

    Pixel dimensions that realistically fit into a tiny envelope

    Attempting to squeeze a four-thousand-pixel canvas into a tiny storage envelope yields illegible visual mush. Discrete cosine transform encoders discard high-frequency detail when subjected to suffocating quotas, turning human faces into blurry mosaic tiles. Success begins by establishing reasonable frame geometry before asking algorithms to compress anything.

    For square avatar portraits, dimensions between 200x200 and 280x280 pixels furnish sufficient clarity for official identity verification while sliding smoothly beneath quota boundaries. Rectangular badges or vertical identity cards survive comfortably around 240x320 or 300x380 resolution. At those proportions, lossy compression preserves eye pupils, eyebrow arches, and mouth contours, avoiding muddy halo artifacts. Standard chroma subsampling schemes (like YUV 4:2:0) further discard imperceptible chrominance details while keeping black-and-white luminance transitions sharp. If an intake form offers slightly broader headroom, navigating to our compress image to 50 KB utility affords delicate textures extra breathing space.

    Signatures and portraits: which graphics survive severe compression

    Different graphic categories behave quite distinctly under severe byte constraints:

    • Monochromatic ink signatures endure heavy reduction splendidly because dark pen strokes contrast against uniform white paper, compressing with remarkable mathematical efficiency.
    • Studio portraits framed against flat neutral backdrops compress cleanly since smooth monochrome backdrops demand minimal frequency coefficients.
    • Outdoor snapshots featuring rustling tree foliage, gravel paths, or textured woolen sweaters struggle severely because random surface textures swallow valuable byte allocations.
    • Scanned thumbprints and official rubber seals maintain vital ridge clarity whenever users clip away surrounding document borders beforehand.

    Whenever bureaucratic paperwork mandates compliance, eliminating background noise guarantees sharp reproduction inside microscopic storage footprints.

    The reliable workflow: crop excess edges before setting your target

    The single most potent tactic for satisfying a 20 KB cap involves snipping away non-essential canvas territory prior to initiating conversion. When an administrative portal requests an applicant picture, avoid submitting an expansive shot displaying wide shoulders, ornamental wallpaper, or distant architecture. Snip the framing tightly around your jawline, ears, and hair crest.

    Cropping discards unnecessary spatial data prior to quantization. This elementary preparatory step empowers the JPEG encoder to dedicate its scarce quota exclusively toward vital facial markers rather than irrelevant room decor. Once neatly trimmed, drop your visual asset onto the workspace where the 20 KB size is already selected for you. The engine immediately commences iterative calibration, skipping awkward trial-and-error delays.

    How local binary search finds your optimal quality level

    Our processing engine avoids arbitrary guesswork and clumsy static tables. Instead, it executes an automated binary search routine directly within client machine memory. The algorithm tests lossy encoding levels spanning high fidelity (quality index 0.95) down to aggressive compaction (quality index 0.10), measuring generated file weights after each calculation pass. Up to eight successive probing rounds pinpoint the peak visual balance.

    Because JPEG compression operates lossily, adjusting quantization tables directly governs byte volume. The search mechanism approves any candidate output landing within approximately 3 percent below your chosen target threshold, accepting results between 19.4 KB and 20.0 KB as optimal matches. Furthermore, our tool never outputs an enlarged result; should an inputted graphic already rest below target capacity, it retains original bytes unchanged and states so visibly. Because calculations execute entirely inside client browser tabs via WebAssembly, personal identity information remains strictly confidential under our transparent privacy policy. By default, hidden metadata segments containing camera serial numbers, color space ICC tags, or sensitive GPS coordinates get scrubbed completely.

    Steps to take when an asset cannot reach twenty kilobytes

    Certain pictures possess excessive visual complexity or gigantic pixel widths that prevent hitting this threshold solely through lossy quantization. Whenever the encoder dials quality down to absolute baseline floors (around ten percent) and the resulting artifact still overshoots target capacity, it methodically scales canvas dimensions downward by fifteen percent steps per round.

    Should downscaling hit twenty-five percent of initial canvas geometry before slipping beneath quota boundaries, the engine halts safely. It presents the closest achieved size accompanied by an honest notification rather than outputting mangled static. When facing this boundary, utilize several practical remedies. Use standard JPEG compression, which this page selects automatically, avoiding lossless alternatives like PNG which achieve byte targets strictly through severe dimension downsizing and report clear warnings when targets prove unreachable. Alternatively, convert colored paperwork to grayscale format to discard two entire color matrices, or explore modern alternatives via WebP compression whenever destination platforms accept contemporary formats. Note that advanced formats such as AVIF take substantially longer to transcode and remain unsupported across older legacy web browsers. Following these pragmatic measures ensures compliance across demanding intake systems without compromising document authenticity.

    Comparison

    How it compares

    How Image Compressor compares with server-based tools and desktop software.

    Image Compressor compared with other ways to do the same job
    QuestionGlowpixel LabsUpload-based compressorsDesktop editors
    Photos leave your deviceNever, processed locally in your browserYes, uploaded to remote cloud serversNo, processed on your local machine
    Daily limitsNone, compress as many files as neededCommon daily quotas or queue throttlesNone
    Target file size modeBuilt in with automatic binary searchRare or locked behind paid subscriptionsRare, usually requires manual trial and error
    Batch and ZIPBuilt in for up to 200 files per batchOften limited to a few files on free tiersBuilt in, but requires manual folder export
    FormatsJPG, PNG, WebP, and AVIFUsually JPG and PNG, sometimes WebPVaries, wide format support depending on program
    PriceFreeFreemium with subscriptions or file creditsPaid license or free open-source software
    Works offline after loadYes, all compression logic runs in the browserNo, requires continuous internet connectionYes, desktop software runs offline
    Audience

    Who uses it

    Built for photographers, designers, developers, and privacy-conscious teams.

    • People with form-upload limits

      Portals for job applications, passports, tax forms, and school registrations often enforce hard size limits such as 100 KB. Target size mode finds the right balance automatically without manual guessing.

    • Site owners

      Webmasters and developers can reduce image payload weights across their pages to boost Core Web Vitals, speed up render times, and reduce hosting bandwidth costs.

    • Photographers and sellers

      E-commerce sellers and photographers can batch-compress full product catalogs or photo shoots at once, strip private EXIF data, and download everything in one organized ZIP archive.

    Discover more

    Preset sizes and formats

    Upcoming image tools

      FAQ

      Questions, answered

      Common questions about formats, privacy, performance, and offline capabilities.

      Why do so many submission portals enforce a strict 20 KB limit?

      Legacy intake databases and strict application forms often restrict file payloads to save storage bandwidth and prevent server timeouts. A tiny twenty kilobyte cap forces submitters to trim away excess resolution, camera metadata, and background clutter before submitting records.

      Will my scanned signature remain readable at 20 KB?

      Yes, provided you crop tightly around the ink lines prior to conversion. Signatures contain minimal color variation, so converting them to grayscale or tightly cropping excess paper margins allows the algorithm to preserve stroke sharpness without exceeding the cap.

      What happens if the encoder cannot hit 20 KB?

      When an image contains too many complex details or wide pixel dimensions, even low compression quality cannot drop below twenty kilobytes. In that scenario, our tool stops safely at a floor dimension, alerts you plainly, and retains the closest reached size.

      Are personal identity cards and documents kept private here?

      Every step executes locally within your browser tab via client-side WebAssembly scripts. Your files never travel across the internet to an external server, and tracking metadata like camera models or GPS tags is stripped automatically for your security.

      Can I use PNG instead of JPEG for a 20 KB target?

      PNG uses lossless encoding, meaning it cannot lower visual quality to shrink file weight. To hit twenty kilobytes with PNG, the engine must scale pixel dimensions down significantly, whereas JPEG searches quality levels while keeping larger canvas dimensions intact.

      Explore

      Complementary image tools running 100% in your browser.

      Last updated: