DOCUMENTATION

Questions, answered.

Everything you need to know about formatting, repairing, validating and converting JSON in the browser.

ANSWERS

All questions

Is my JSON data uploaded to a server?

No. Parsing, formatting, conversion, validation and comparison all run in your browser with JavaScript. Your data is never transmitted, and history is stored only in your local storage.

How do I fix invalid JSON with comments or trailing commas?

Keep Repair enabled. bracekit strips line and block comments, removes trailing commas, quotes unquoted keys and converts Python-style literals before validation.

What indentation options are supported?

You can choose 1, 2 or 4 spaces, tabs, or compact single-line output. You can also sort object keys, escape Unicode, switch line endings and control the trailing newline.

Can I convert JSON to YAML, CSV or XML?

Yes. The advanced module converts JSON to YAML, CSV, XML, query strings, Base64, NDJSON and TypeScript, and every one of those except TypeScript also converts back.

Does it support JSONPath queries?

Yes. The Query module supports dot notation, bracket notation, array indexes, wildcards, recursive descent and filters such as @.price > 10.

How is the JSON Schema generated?

The Schema module inspects your sample document and infers a draft 2020-12 schema with types, required fields, item schemas and common string formats.

Is there a keyboard shortcut to format JSON?

Press Ctrl/Cmd + Enter to format, Ctrl/Cmd + K to copy the output, Ctrl/Cmd + O to open a .json file and Ctrl/Cmd + S to download the formatted result.

How do I find and replace values inside JSON?

Open the Find/Replace module below the editors. Search string values by default, optionally include object keys, and enable Regex or case sensitivity when needed. Click Replace all to write the result back into the input pane.

Can I protect the formatted output from accidental edits?

Yes. Use the lock button in the output pane header, or press Ctrl/Cmd + Shift + L. Locked output keeps a read-only context menu for copying paths, keys and values while preventing changes.

Which other formats can I convert to and from?

Besides YAML, CSV and XML, the workbench supports JSON to Base64, NDJSON and TypeScript type aliases. YAML, CSV, XML, query strings, Base64 and NDJSON all have reverse conversions that read from the Source text box.

Can I switch between sample documents?

Yes. The Sample button in the toolbar cycles through the bundled examples so you can try different formatting and conversion settings without pasting your own data.

How large a JSON file can I open?

The browser workbench accepts files up to 12 MB. Larger documents can be slow to parse and render, so a server-side tool is a better fit for those workloads.

Is bracekit free to use?

Yes. Every tool is free, requires no account and has no usage limits. Once a page has been visited, the offline cache lets it reopen without a connection; only the Google Fonts files need the network, and system fonts are used while you are offline.

Does the validator warn about duplicate keys or very large integers?

Yes. Every parse scans the original text for repeated object keys and for integer literals beyond 2^53, then lists them under the output so you know where precision was lost before you copy the result.

How do I delete everything the site has stored in my browser?

Click the erase button in the workbench toolbar and confirm. It removes every bracekit entry — draft, history, snippets, options — plus the offline page cache, and leaves the rest of your browser data alone.

TOOL MATRIX

Explore more

Keyboard shortcuts
FORMATTING
Format input Ctrl/⌘ + Enter
Toggle auto-format Ctrl/⌘ + Shift + A
CLIPBOARD & FILES
Copy output Ctrl/⌘ + K
Open JSON file Ctrl/⌘ + O
Download output Ctrl/⌘ + S
Save snippet Ctrl/⌘ + Shift + N
MODULES
Open find & replace Ctrl/⌘ + Shift + F
Lock / unlock output Ctrl/⌘ + Shift + L
Show this dialog Ctrl/⌘ + /
Local history
Save snippet
Erase local data

Nothing is stored in this browser yet.

Removes the saved draft, history, snippets and formatting options for this site. Documents you typed stay in the editor until the page reloads.