Documentation

Learn JSONFiddle by workflow

Short guides for viewing, querying, editing, converting, and exporting structured data in the browser.

Bottom Bar

The bottom bar sits below the code editor and provides quick-access tools for validation, formatting, type generation, schema validation, and format switching.

Bottom bar overview Screenshot: The bottom bar from left to right.


Button Reference (Left to Right)

1. Copy Button

PropertyValue
IconClipboard
Tooltip"Copy content"
ActionCopies the entire editor content to your clipboard.
FeedbackThe icon changes to a checkmark for 2 seconds.
Disabled whenNever. Always available, even for empty content.

Copy button Screenshot: The bottom bar with the Copy button highlighted.

2. Valid / Invalid Badge

PropertyValue
AppearanceGreen "Valid" badge or red "Invalid" badge.
BehaviorUpdates in real time as you type.
Visible whenContent is not empty and the format is not Mermaid.
Hidden whenThe editor is empty or the format is Mermaid (Mermaid uses its own error display).

When "Valid": Content parses without errors in the current format.

When "Invalid": There is a syntax error. The code editor shows a red underline at the error location. Hover over the underline to see the error message.

Tip: If the badge shows "Invalid" after a format switch, the content may not be valid in the new format. For example, switching from JSON to CSV when the content is a single object (not an array) produces an error.

3. Auto Sync Toggle

PropertyValue
IconWand
Tooltip / accessible label"Auto Sync: On" or "Auto Sync: Off"
StyleAccent-filled when ON, subtle when OFF.
ActionToggles live synchronization between the editor and the visual views.

When ON (default): Every keystroke updates the views in real time.

When OFF: Views update only when you stop typing (debounced) or switch tabs. This improves performance for large documents.

Auto Sync toggle Screenshot: The Auto Sync toggle in the bottom bar.

Tip: Turn off Auto Sync when working with large JSON (1MB+) to prevent lag from continuous re-rendering.

4. Format / Beautify Button

PropertyValue
IconSparkles
Tooltip / accessible label"Format / Beautify"
StyleAccent-filled when content is already formatted, subtle otherwise.
ActionPretty-prints the content with consistent indentation.
Disabled whenContent is invalid.

Beautification rules:

  • JSON: 2-space indentation, one key per line.
  • YAML: 2-space indentation.
  • XML: Formatted with nested indentation.
  • CSV: No change (already flat).

Format / Beautify Screenshot: The Format/Beautify button in the bottom bar.

5. Minify Button

PropertyValue
IconCompress (arrows pointing inward)
Tooltip / accessible label"Minify"
StyleAccent-filled when content is already minified, subtle otherwise.
ActionCompresses JSON to a single line with no whitespace.
Disabled whenContent is invalid.

Minify Screenshot: The Minify button in the bottom bar.

Note: Minify converts the data to JSON format regardless of the current format. If you are in YAML mode and click Minify, the result is minified JSON.

6. Generate Types Button

PropertyValue
IconBraces {}
Tooltip / accessible label"Generate Types"
ActionOpens the Type Generation modal.
Disabled whenContent is invalid.

The modal lets you generate type definitions from your JSON in multiple languages:

  • TypeScript interfaces
  • Zod schemas
  • Go structs
  • Python dataclasses
  • Java classes
  • Rust structs

See the Type Generation Guide for full details and example output.

Generate Types Screenshot: The Generate Types button in the bottom bar.

7. Validate Schema Button

PropertyValue
IconShield with checkmark
Tooltip / accessible label"Validate Schema" (or "Validate Schema (attached)" when a schema is loaded)
StyleAccent-filled when a schema is attached, subtle otherwise.
ActionOpens the JSON Schema Validation modal.
Disabled whenContent is invalid.

See the Schema Validation Guide for full details.

Validate Schema Screenshot: The Validate Schema button in the bottom bar.

8. Format Selector Dropdown

PropertyValue
AppearanceDropdown showing the current format name.
PositionFar right of the bottom bar.
BehaviorStays visible while lower-priority tools move into the overflow menu on narrow screens.
OptionsJSON, YAML, XML, CSV, Mermaid, JFDG.
ActionChanges the format of the active tab and converts the content.

Format selector Screenshot: The format selector dropdown open in the bottom bar.


Responsive Overflow Menu

When the bottom bar is too narrow to display all buttons (e.g., on mobile, narrow windows, or with the split-pane divider pushed far to the right), lower-priority buttons collapse into a three-dot overflow menu.

Collapse Priority

Buttons collapse from right to left in this order (highest priority stays visible longest):

PriorityButtonCollapses
1 (always visible)Auto SyncLast
2Format / BeautifySecond to last
3MinifyMid
4Generate TypesEarly
5Validate SchemaFirst to collapse

The Copy button, Valid/Invalid badge, and Format selector are always visible and never collapse.

Using the Overflow Menu

When buttons are collapsed:

  1. A three-dot icon appears between the visible buttons and the format selector.
  2. Click it to open a dropdown menu.
  3. The collapsed buttons appear as labeled menu items with their icons.
  4. Click any item to trigger the action.

Overflow menu Screenshot: The overflow menu open in the bottom bar.


Mermaid Mode

When the active tab's format is Mermaid, the bottom bar changes:

  • Auto Sync, Format, Minify, Generate Types, and Validate Schema are hidden (these are data-format-only tools).
  • Only Copy and the Format selector remain visible.
  • The Valid/Invalid badge is hidden (Mermaid uses its own error rendering in the diagram panel).

Troubleshooting

"All buttons are disabled"

The content is invalid. Check the "Invalid" badge and fix the syntax error in the editor.

"The Validate Schema button says 'attached'"

A JSON Schema has been previously loaded for this tab. Click the button to open the modal, where you can see, modify, or clear the attached schema.

"I cannot see some buttons"

The bottom bar is responsive. If your window is narrow, buttons collapse into the overflow menu. Look for the three-dot icon and click it.

"Beautify is not changing anything"

If the content is already beautified (properly indented), the button has no visible effect. Try Minify first, then Beautify to see the difference.


FAQ

Q: Is there a keyboard shortcut for Beautify? A: Not directly. Use the button in the bottom bar.

Q: Can I change the indentation (e.g., 4 spaces instead of 2)? A: Not currently. JSONFiddle uses 2-space indentation for JSON and YAML.

Q: Does Minify work for YAML? A: Minify converts to JSON format and compresses. It does not produce minified YAML.

Q: What does the Auto Sync toggle actually sync? A: It syncs the editor content with the visual views (Graph, Explorer, Grid, Query). When OFF, views update less frequently to save performance.