JSON minifier
Minify JSON onto a single line by removing whitespace. Smaller payloads for APIs and config. Free.
Runs on our server
Also with the json formatter & validator
About this tool
Strip spaces and line breaks from JSON to make it as small as possible, for API payloads, environment variables and storage.
How to use it
- 1 Paste your JSON.
- 2 Choose Beautify or Minify.
- 3 Select Process and copy the result.
Questions
Why is my JSON invalid?
Common causes are trailing commas, single quotes instead of double quotes and missing brackets. The error message points to the problem.
Do you store what I enter?
No. Your input is processed to give you the result and isn’t saved.
Is this tool free?
Yes. It’s free to use with no sign-up and no limits for normal use.
More in JSON & data
- JSON ⇄ YAML converter New Convert JSON to YAML and YAML to JSON.
- CSV ⇄ JSON converter New Turn a CSV table into JSON, or a JSON array back into CSV.
- Unix timestamp to date Convert a Unix timestamp to a readable date in several formats.
- Date to Unix timestamp Convert a date and time (UTC) to a Unix timestamp.
- UUID v4 generator Generate random version-4 UUIDs.
- URL parser Break a URL into its parts and query parameters.