JSON Formatter
Format, validate and minify JSON with clear hints for syntax errors.
Live
Chinese lines are sorted by Unicode order. Numeric sort compares the first number on each line.
Sort lines alphabetically, by length or numerically. Useful for lists, keywords and snippets.
By Unicode code point order. The result is stable but not the same as pinyin order.
Yes. The first number on each line is compared, and lines without numbers go last.
Yes, the two options are independent.
MORE TOOLS
Format, validate and minify JSON with clear hints for syntax errors.
Count characters, words, sentences and paragraphs in real time.
Remove duplicate lines and keep the first occurrence.