Search Ctrl K
Home / Tools
THE FEUTEX TOOLKIT

Schema Formatter

Format and minify JSON-LD schema markup. Paste raw JSON or HTML with application/ld+json, optionally sort keys, wrap in a script tag, copy or download. Runs offline in your browser.

Tip: Press Ctrl/⌘ + Enter to format. If you paste HTML with multiple JSON-LD scripts, the tool outputs a JSON array.

No network calls. Your schema stays in your browser.

Privacy: runs locally in your browser. No uploads, no tracking scripts.

How to use

Use this tool to format or compress your schema markup without sending data anywhere.

  1. Paste your JSON-LD (or HTML containing application/ld+json script tags) into the input.
  2. Choose indentation, optionally enable key sorting, and choose whether to wrap output in a script tag.
  3. Click Format for readable output or Minify for compact output. Use Validate to check JSON syntax.

FAQ

Can I paste HTML instead of raw JSON-LD?

Yes. If your input contains <script type="application/ld+json">, the tool extracts and formats the JSON-LD inside.

What happens if the HTML contains multiple JSON-LD script tags?

The tool parses each script and outputs a single JSON array containing each JSON-LD block.

Does “Sort keys (deep)” change my schema meaning?

No. JSON object key order doesn’t affect meaning, but sorting can make reviews and diffs easier; array order is kept.

Will this validate my schema against Google rich result requirements?

No. It validates JSON syntax only; use a schema checker for structured-data rules.

Why does it say “Invalid JSON” even though my code looks right?

Common causes are trailing commas, smart quotes, or pasted JavaScript objects that aren’t strict JSON (unquoted keys, single quotes).

Can I output a ready-to-paste script tag?

Yes. Enable Wrap in <script> to generate a complete application/ld+json block.

Is my schema sent to a server?

No. The formatter runs entirely in your browser and does not make network requests.

Continue your workflow

Browse related tools by task. Use the improved core tools for a consistent workspace with file import, downloads and clear validation errors.