Skip to content
uencoder
PIPELINE Data Transformation Beginner 2 steps

JSONC to JSON Format

JSONC allows comments. Standard JSON does not. This chain strips comments and formats.

What it solves

Format JSONC (JSON with comments) then convert to standard JSON.

Input → Output

Jsonc Format input → JSON Formatter output across 2 steps.

Runs in

1–2 minutes · fully local in your browser.

Before you start

  • A valid JSONC string with comments

The pipeline

  1. 1 Jsonc Format jsonc-format

    Jsonc Format — pure client-side tool. Privacy-first, no server round-trip.

  2. 2 JSON Formatter json-format

    Format, minify, or sort JSON online. Free, private, and 100% client-side.

Open in Toolchain

Runs locally in your browser. The recipe defines the pipeline only — your input never leaves this tab.

▶Run this workflow

Enter your input below and click Run. All processing happens locally in your browser — nothing is uploaded.

Pipeline progress

  1. Jsonc Formatjsonc-format
  2. JSON Formatterjson-format

Sample input

{
  // comment
  "name": "test"
}

Expected output

{
  "name": "test"
}

This pair is executed against the real tools at build time (tests/unit/recipes.test.ts) — the expected output is verified, not illustrative.

Related workflows

You might also need

Workflows sharing tools or topics with this recipe.

Learn more

Tools used