Skip to main content

    Compress JSON online

    Shrink a JSON file by stripping unnecessary spaces, line breaks, and indentation (minification), without changing its structure or data.

    Accepted source formats

    JSON

    How it works

    1

    Drop your JSON file: its validity is checked automatically.

    2

    The file is minified: indentation and unnecessary whitespace are removed.

    3

    Download the compressed JSON, still valid and parseable by any program.

    Common mistakes

    • Using a source file of poor quality.
    • Publishing without checking the final result.
    • Confusing file size, dimensions and quality.
    • Overwriting the original file without keeping a copy.

    Pro tips

    • Always keep an original version.
    • Test several settings before downloading.
    • Use WebP for the web when possible.
    • Choose descriptive file names for SEO.

    Privacy guaranteed

    Your files are processed locally in your browser and are never uploaded to our servers.

    Adapt your files to your needs

    Prepare your files for the web, emails, professional documents or online sharing. Processing happens directly in your browser, fully private and with nothing to install.

    Practical formats for everyday work

    Choose the formats best suited to your needs: publishing, archiving, printing, collaboration or quick sharing. Processing happens directly in your browser, fully private and with nothing to install.

    Free tool, no signup required

    Use the tool for free, with no account, no email required and no unnecessary steps. Processing happens directly in your browser, fully private and with nothing to install.

    Secure, private processing

    Your files stay on your device and are processed locally. No file is ever sent to a remote server. Processing happens directly in your browser, fully private and with nothing to install.

    Save time on all your files

    Keep a simple workflow: add your files, choose your settings, then download the final result. Processing happens directly in your browser, fully private and with nothing to install.

    Discover all our tools

    Convert, compress, merge and edit your files in a few clicks.

    See all tools

    Complementary tools

    Guides and tutorials

    Learn how to use our tools with our detailed guides.

    Frequently asked questions

    No, only the visual formatting (spaces, indentation) is removed; the keys and values stay identical.

    Minified JSON is harder to read by eye but remains perfectly valid; keep the original if you need to edit it by hand.

    It reduces the size of configuration or data-export files, which helps with storage or transfer.
    Compress JSON for free | Convertly Converter