Skip to content
Toolbento

YAML formatter

Format and validate YAML with even indentation, and see the line of any error.

Everything stays on this device

YAML formatter runs in your browser. The text and files you add are worked on by this device and are never uploaded, to us or to anyone else.

  • No uploads. The page is blocked from sending data to any other server.
  • No account, cookies, ads or tracking.
  • Fonts and scripts come from toolbento.app itself, so the page makes no requests to other companies.
  • Closing the tab clears your text and files from memory.

Read the full details on the privacy page.

Indent

Missing a feature or found a bug in YAML formatter? Tell me on X (@_andrewtran) or by email.

How to use YAML formatter

  1. Paste your YAML in the input pane.
  2. Choose the indentation, and tick Sort keys if you wish.
  3. Copy the result or download it as a file.

Questions and answers

Is my data sent anywhere?

No. Everything runs in your browser on this device. Nothing you paste is uploaded or stored.

Are my comments kept?

No. Formatting reads the data and writes it out again, and comments are not part of the data. The status line tells you when comments were dropped.

How do I know if my YAML is valid?

Valid YAML shows a formatted result. Anything else shows what is wrong, with the line and column.

Esc

Loading tools