Prettify YAML with consistent indentation, quoting, and line breaks.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
The input is parsed into YAML values and serialized with consistent indentation, quoting, and line breaks. Presentation changes while mappings, sequences, scalars, and dates remain represented by the serializer.
server:
host: localhost
port: 3000
database: {url: 'postgres://localhost/db', pool: 5}
server: host: localhost port: 3000 database: url: postgres://localhost/db pool: 5
Kubernetes, Docker Compose, and static-site data files format YAML.