Skip to content
The Little Bakery A product of The Little Bakery

Built for macOS developers

Work with JSON & XML faster.

A native macOS JSON formatter and XML editor built for speed. Validate, format, compare, and send REST requests without leaving the app.

Version 1.2.0

JsonXmlEditor interface preview

Everything you need for daily JSON/XML tasks

JsonXmlEditor keeps your workflow focused with practical tools for real development work.

Editor Experience

  • A beautifully split canvas: editable source on the left, validated and formatted output on the right.
  • Instant JSON and XML detection with clear validity status at a glance.
  • Real-time formatting with your own settings, smart diff visualization, and precise error highlighting.
  • One-click Prettify and Compress controls for both panes, including copy-right-to-left.
  • Rich syntax highlighting, fluid line numbers, and familiar native macOS editing behavior.
  • Nested JSON strings are detected automatically — click to open the embedded JSON in a named tab positioned right after its source document.
  • Opt-in nested JSON detection for the output pane only, off by default.
  • Open clipboard JSON or XML as a new document with one toolbar action.

Document & File Management

  • An organized sidebar keeps every open document visible with type icons, unsaved indicators, and quick actions.
  • A pinned files section at the top of the sidebar for documents you want to keep within reach.
  • Drag-to-reorder documents in the sidebar using grip handles.
  • Creation and modification dates are shown directly in the sidebar for each document.
  • Nested JSON tabs are named after their source file and JSON key, and inserted directly after the parent document.
  • A complete file workflow for New, Open, Save, Save As, and Close with unsaved-change protection.
  • Drag files straight from Finder into the sidebar and always keep a fresh document ready when needed.
  • Native support for .json, .xml, and .txt files with save suggestions based on detected content.

Formatting Controls

  • Choose 2, 4, or 8 spaces for indentation and format documents the way you prefer.
  • Optional JSON key sorting and XML pretty-printing give you control over the final output.
  • Formatting preferences apply consistently across every open document.

Built-in REST Client

  • REST requests live in sidebar navigation — no more tab-strip clutter.
  • Rename requests and view their creation and modification dates at a glance.
  • A full request builder with methods, URL input, query and header tables, and a JSON-aware body editor.
  • Smart URL normalization fixes malformed protocols and pasted input automatically.
  • Automatic Accept, User-Agent, and JSON Content-Type defaults keep requests well formed.
  • A response inspector shows status, headers, body, transcript, formatting tools, and open-as-document actions.
  • Clear network error details include useful host-resolution hints.

Code Generators

  • Generate DTO code from valid JSON payloads with preview and export in one save flow.
  • Create DTOs for PHP, Go, Python, TypeScript, Swift, C#, and Java, with the last-used language remembered.
  • PHP generation supports Simple Properties and Symfony Attributes modes.
  • Readable syntax-highlighted previews make generated code easy to review before export.
  • Unsupported payload types return clear and specific error messages.
  • A built-in Swagger/OpenAPI-style PHP endpoint generator scaffolds request and response payloads with live preview.
  • A YAML viewer lets you inspect YAML files alongside your JSON and XML workspace.

Persistence, Localization & Preferences

  • Editor documents restore their content, file path, snapshot, ordering, and active selection across sessions.
  • REST tabs persist method, URL, params, headers, body, protocol, results, and active tab state.
  • Settings use a Safari-style toolbar layout with per-pane tabs for quick access to every preference.
  • Display language can be chosen independently from system language.
  • The app supports 15 display-language options, including System Default.
  • Formatting, default DTO language, and display language preferences stay available in one place.

Changelog

Release notes for JsonXmlEditor on macOS.

  1. v1.2.0
    • Added toolbar action to open clipboard JSON/XML as a new file.
    • Added Swift DTO output and YAML viewer.
    • Added clickable nested JSON detection in string values.
    • Added drag-to-reorder support with grip handles in the sidebar document list.
    • Added a pinned files section to the sidebar with drag-and-drop and context menu support.
    • Added rename support plus creation and modification dates to REST requests.
    • Added opt-in nested JSON detection for the right pane only, off by default.
    • Reworked Settings into a Safari-style toolbar layout with per-pane tabs.
    • Named nested JSON tabs after the source file and JSON key.
    • Showed creation and modification dates in the document sidebar.
    • Inserted nested JSON tabs directly after their source document.
    • Moved REST requests from the tab strip into sidebar navigation.
    • Fixed a bad merge that broke SyntaxHighlighter and added characterization tests.
  2. v1.1.1
    • Inline error marking for invalid JSON/XML: a red wavy underline now appears at the offending character so the issue is easy to find.
    • Validation status now shows the actual parser error with line and column (e.g. Line 3, Col 5: …) instead of a generic "Invalid JSON/XML" label.
    • Click the validation status to jump the cursor directly to the error location.
    • Error message is now scoped to the detected content type — JSON-looking input no longer also reports XML parse errors and vice versa.

Designed for speed and clarity

Privacy by design

Need help?

If you have questions, bug reports, or feature requests, contact us and we will respond as quickly as possible.

Open the full support page