FormatIn browser

YAML formatter

Readable YAML for configs, CI/CD, Kubernetes manifests and documentation right in the browser.

Use cases
ConfigsCI/CDKubernetes YAMLDocumentation
Input YAML
characters: 0lines: 0
Result

How it works

The YAML formatter parses the document in your browser, checks parser errors and prints YAML with consistent indentation. For YAML streams, multiple documents are formatted in sequence. All processing is local — data is never sent to a server.

When to use it

Formatting helps with config files, CI/CD pipelines, Kubernetes manifests, docker compose snippets and documentation. Validation helps catch syntax errors before committing YAML or pasting it into another tool.

How to use it

  1. 1Paste YAML into the editor.
  2. 2Click Format to normalize indentation or Validate to see syntax errors.
  3. 3Copy the result or clear the fields.

Questions

Is YAML sent to a server?

No. Formatting and validation happen in your browser, so the data stays on your device.

Does it show line numbers for errors?

Yes. When the parser returns a location, the tool shows the line and column next to the error message.

Are multi-document YAML streams supported?

Yes. A YAML stream separated with --- is parsed locally and formatted as multiple documents.

Other tools

All tools