Formatter

JSONC Formatter

Format No sign in

Formatter example

Before

{// note
"enabled":true,}

After

{
  // note
  "enabled": true,
}

Workflow

Use JSONC without sending code.

Paste a snippet, run the action, review any highlighted issue, then copy the result back to your work.

Current language
JSONC
Current action
Formatter
  1. 01

    Start

    Paste a snippet or full file into the editor.

  2. 02

    Run

    Use Run Formatter from the action bar.

  3. 03

    Review

    Fix syntax issues if processing stops.

  4. 04

    Move

    Use Copy code when the result is ready.

Files
.jsonc, .code-workspace
Paste a JSONC snippet or a full source file.
Engine
Prettier
Runs the browser-side formatter for readable output.
Privacy
Local run
The editor does not send pasted code to a formatting API.
Result
Readable output
Move the formatted code back to your editor.