JSON Formatter

Format and beautify JSON with customizable indentation

设置
Input JSON
0 characters
Formatted Output
Features
  • Beautify JSON with custom indentation
  • Minify JSON to reduce file size
  • Sort object keys alphabetically
  • Remove comments from JSON5
  • Customizable indentation (2, 4, or 8 spaces)
Tips
  • Use beautify mode for readable, formatted JSON
  • Use minify mode to reduce file size for production
  • Sort keys option helps with version control and diffs