Developer Tools

XML / YAML / TOML / SQL Formatter & Validator

Pretty-print, minify or check XML, YAML, TOML and SQL — with the exact line and column of the first error.

In the browser

Your text is processed in your browser and is never uploaded.

About this tool

Pretty-print, minify or check XML, YAML, TOML and SQL — with the exact line and column of the first error.

XML is checked for well-formedness by 1CLIK’s own parser (DTDs and entities refused), YAML and TOML by spec-compliant parsers, and SQL is laid out by a dialect-aware formatter.

Example: a one-line XML document is indented with one element per line.

Validation means the syntax is correct; XML is not checked against a schema, and SQL is not run against a database.

Quick steps

  1. Paste your text or open a file (or press Try an example).
  2. Choose the options — the result updates as you type.
  3. Copy the result or download it as a file.

Everything runs in your browser. Nothing you type is sent to 1CLIK.

FAQ

How does the XML / YAML / TOML / SQL Formatter & Validator work?

XML is checked for well-formedness by 1CLIK’s own parser (DTDs and entities refused), YAML and TOML by spec-compliant parsers, and SQL is laid out by a dialect-aware formatter.

What should I keep in mind?

Validation means the syntax is correct; XML is not checked against a schema, and SQL is not run against a database.

Is my text uploaded or saved?

No. It is processed on your device in a separate background task that is stopped if it takes too long; nothing is stored or sent.

A useful next step

Site policies: Privacy · Terms