JSON Formatter

Online JSON data formatting and validation with syntax highlighting and error checking

Input JSON

Output

Lines: 1Characters: 0

Formatted JSON will appear here

Features

  • • Syntax highlighting
  • • Error checking
  • • Auto indentation
  • • Large file support

Shortcuts

  • • Ctrl+Enter: Format
  • • Ctrl+Shift+F: Compress
  • • Ctrl+Shift+C: Copy
  • • Ctrl+Z: Undo

Tips

  • • JSON5 support
  • • Auto escape characters
  • • Preserve comments
  • • URL encoding support