Sample
YAML449 chars · 449 bytes
1234567891011121314151617181920212223242526272829303132
✓ Valid
Normalized YAML
528 bytes (+18% vs input)
version: "3.8"
name: my app
debug: "yes"
port: 8080
base:
  image: node:20
  env:
    A: 1
    B: two
    list:
      - 1
      - 2
      - three
services:
  web:
    image: node:20
    env:
      A: 1
      B: two
      list:
        - 1
        - 2
        - three
    ports:
      - "80:80"
      - 443
    command:
      - npm
      - start
  db:
    image: postgres
    items:
      - a: 1
        b: 2
      - - x
        - "y"
text: |
  line one
    indented
  last
folded: folded text continues here
---
second: document
Validate YAML syntax before you deploy · runs in your browser, nothing is uploaded