← Back to Converter

JSON Format Converter - Help

Complete guide to using the JSON Format Converter

🚀 Quick Start

  1. Paste your JSON, JSONC, or JSON5 data in the left panel
  2. Select the input format from the dropdown
  3. Choose your desired output format
  4. The conversion happens automatically!
  5. Copy or download the result from the right panel

✨ New Features

⌨️ Keyboard Shortcuts

Ctrl/Cmd + Enter - Format and beautify input
Ctrl/Cmd + Shift + C - Copy output to clipboard
Ctrl/Cmd + Shift + D - Download output as file
Escape - Clear all input and output

📝 Supported Formats

JSON (JavaScript Object Notation)

Standard JSON format with strict syntax rules. No comments, no trailing commas.

{
  "name": "example",
  "value": 123,
  "array": [1, 2, 3]
}

JSONC (JSON with Comments)

JSON format that supports single-line (//) and multi-line (/* */) comments, plus trailing commas.

{
  // This is a comment
  "name": "example",
  "value": 123, // trailing comma allowed
  "array": [1, 2, 3],
}

JSON5 (JSON for Humans)

Extended JSON format with many human-friendly features:

{
  // JSON5 example
  name: 'example', // unquoted key, single quotes
  value: 0xFF, // hexadecimal number
  multiline: 'This is a \
multi-line string',
  infinity: Infinity,
}

🔧 Button Functions

Input Panel Buttons

Output Panel Buttons

⚙️ Options

Minify

Remove all unnecessary whitespace to create compact output.

Sort Keys

Alphabetically sort object keys for consistent output.

Order (A-Z / Z-A)

Choose ascending or descending order for key sorting.

Deep Sort

Apply sorting recursively to all nested objects.

Indent Size

Choose between 2 spaces, 4 spaces, or tab characters for indentation.

🔧 Tips & Tricks

🌐 Browser Support

This tool works in all modern browsers:

📱 Mobile Support

The converter is fully responsive and works on mobile devices. On smaller screens, the layout automatically switches to a vertical stack for better usability.