Skip to main content
CuteJSON
↑↓ Navigate Enter Select Esc Close

JSON Minifier

Remove every optional space and line break from your JSON, and see exactly how many bytes that saved.

Back to all tools

Keyboard shortcuts

These work wherever the matching action exists on this page.

Open the command palette
Ctrl/Cmd + K
Run the main action
Ctrl/Cmd + Enter
Format
Ctrl/Cmd + Shift + F
Minify
Ctrl/Cmd + Shift + M
Copy output
Ctrl/Cmd + Shift + C
Open file
Ctrl/Cmd + Shift + O
Download output
Ctrl/Cmd + S
Close this dialog
Esc
Open this dialog
F1 / ?

Local data

Everything below is stored only in this browser, on this device. None of it is ever sent anywhere, and closing this dialog is not required for that to stay true.

Unsaved drafts
Tools with remembered options

Recently opened files

    No files opened yet on this device.

    Share via link

    The content is packed into the part of the link after the # sign, which browsers never send to a server. Nothing here is uploaded to cutejson.com or anywhere else.

    Shares the first input on this page. On a tool with more than one, only that one is included.

    Nothing to share yet. Paste or type something first.

    Input

    Load from a URL

    Fetches the URL directly from your browser and loads whatever text it returns into this pane.

    Output

    The result appears here.

    Runs entirely in your browser. Nothing you paste is uploaded, and you can confirm that in your browser Network tab.

    About this tool

    Minifying removes whitespace that JSON does not need: the spaces after colons and commas, the indentation, and the line breaks. Nothing else changes. The values, their order and their exact text are identical, so minifying and formatting are safe to do as often as you like. Because this works on the token stream rather than parsing your document into a JavaScript value, long integers keep every digit and keys that look like numbers keep the order you gave them.

    How to use

    1. Paste your JSON into the input pane, or load the sample.
    2. Press Minify. The result appears on the right.
    3. Check the saving, then copy the result or download it as a file.

    Keep reading

    How to minify JSON and see exactly what it saved Read the guide