JSON & text converter
Format JSON, encode Base64, URLs and HTML entities, and change letter case, all inside this browser.
How to use the JSON & text converter
Use it to format or minify JSON, convert text to Base64, URL or HTML entity form, or change letter case and variable naming styles.
- Choose a task and any options you need.
- Paste your content into the input and press Convert. Ctrl+Enter (⌘+Enter on Mac) also works.
- Check the result and copy it. If there is an error, look at the line and column shown.
Example: {"b":1,"a":2} {"a":2,"b":1} minify JSON + sort keys
Limits
- The input limit is 500,000 characters (string length); emoji and some other characters count as 2.
- JSON can be nested up to 200 levels deep.
- JSON with comments, trailing commas or single quotes is not standard JSON and is reported as an error.
- Formatting and minifying keep numbers and strings exactly as written and never recalculate values. Repeated keys are kept, not removed.
- Browsers may convert pasted line breaks (CRLF) to LF.
- HTML entity decoding handles only a small list of common named entities and numeric (decimal and hexadecimal) entities. Unlisted names and invalid numbers are left unchanged and counted for you.
- Case conversion uses the default rules, independent of the language setting.
Frequently asked questions
Is my input sent to a server?
No. Every conversion runs inside this browser, and your input and results are neither saved nor uploaded. They disappear when you reload.
Is Base64 encryption?
No. Base64 only rewrites data as text and anyone can reverse it. Do not use it to protect passwords or personal data.
What is the difference between URL component and full address?
Component mode also converts separators such as ? & = / #, so it suits a single query value. Full address mode keeps the address structure and converts only characters such as Korean text and spaces, but it also turns % into %25, so encoding an already encoded address encodes it twice.
Does URL decoding turn + into a space?
By default + is left as it is. Turn on “Treat + as a space” only when + means a space, as in HTML form data.
Why are some items not changed when decoding HTML entities?
This tool handles common named entities such as amp, lt, gt, quot, apos, nbsp, copy and hellip, plus numeric entities. Named entities that are not on the list and numeric entities out of range are left as they are to preserve your text, and the status message lists them.
How are the line and column of an error counted?
Lines and columns both start at 1. Columns count characters, and the character right after a line break is column 1 of the new line.