- Free
- No sign-up
- Works on any device
No tool matches your search.
- Free
- No sign-up
- Works on any device
Create a QR code for a link, Wi-Fi, WhatsApp, contact and more, or read one from a photo.
- Free
- No sign-up
- Works on any device
Fill in the details to see your QR code.
PNG for phones, chats and websites. SVG and PDF stay sharp at any size, which is best for printing. Tip: point your phone camera at the preview to test it.
3. Style (optional): colors, dots, logo
Choose a photo or screenshot or drag it here
Works with photos of printed codes, screenshots and image files.
Looking for QR codes…
JSON Minifier
Remove whitespace and line breaks from JSON to get the smallest valid single line, with the bytes and percentage saved.
- Free
- No sign-up
- Works on any device
About JSON Minifier
Minifying removes the spaces, tabs and line breaks that sit outside strings, leaving the shortest valid JSON on one line. It is useful before sending JSON in a URL parameter, storing it in a single database column, or embedding it in a script. The tool checks that the input is valid first, shows the original and minified size in UTF-8 bytes and the percentage saved, and leaves every string, number and escape exactly as written. Comments are not part of JSON, so they are removed only if you tick the option for it.
How to use JSON Minifier
- Paste the formatted JSON, or load a sample to see how it works.
- Tick the comment option only if your text has // or /* */ comments.
- Copy the one-line result and compare the byte counts shown above it.
Why use this tool?
- Private: everything happens in your browser. Nothing you enter is uploaded.
- Free, with no sign-up, no watermark and no limit on how often you use it.
- Works on phones, tablets and computers: Android, iPhone, Windows, Mac and Linux. Nothing to install.
- Free to embed on your own website, with a ready-made code to copy.
- Available in 10 languages.
Also known as
Frequently asked questions
Does minifying change my data?
No. Only whitespace outside strings is removed. Spaces inside string values, number formats and the order of keys stay exactly as they were.
Why does the minifier say my JSON is invalid?
It uses a strict parser. Trailing commas, single quotes, unquoted keys and comments are not valid JSON. The message names the position of the first problem.
How many bytes will I save?
It depends on the indentation. Deeply indented, pretty-printed files often shrink by a quarter to a half, while JSON that is already compact saves almost nothing.
Is JSON Minifier free?
Yes. JSON Minifier on Toolipedia is free to use, with no sign-up and no watermark.
Is it safe to use?
Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.
Does it work on my phone?
Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.
Do I need an account?
No. Just open the page and use the tool. There's no sign-up and no email needed.
Can I put JSON Minifier on my own website?
Yes. Use the Embed on your site button under the tool to copy a short piece of code and paste it into your page. It is free, needs no account, and the tool keeps working inside your page.