Open YAML files online
Drop a YAML file to preview it instantly in your browser. Free and private: your file is never uploaded, and no account is needed.
What is a YAML file?
YAML is a human-friendly data format that uses indentation to show structure. It supports mappings, lists, strings, numbers and comments, and is a superset of JSON.
Docker Compose, Kubernetes, GitHub Actions, OpenAPI documents and many other tools use YAML for configuration. Both .yaml and .yml are in use.
| Full name | YAML Ain't Markup Language |
|---|---|
| File extensions | .yaml, .yml |
| MIME type | application/yaml |
| Developed by | Clark Evans, Ingy döt Net and Oren Ben-Kiki |
| Introduced | 2001 |
How to open a YAML file online
- Drop the file. Drag your .yaml, .yml file onto the panel at the top of this page, or click it to pick the file from your device.
- See it instantly. Your browser reads the file locally and shows the preview in a second or two.
- View full screen or download. Use the full screen button for a distraction-free view, or download a copy. Close the page when you are finished and nothing is kept.
How Drop and Open displays YAML files
Drop and Open reads the file locally as UTF-8 text and shows it in a monospace block with line breaks preserved. The content is inserted as plain text, so nothing inside the file can run. No syntax highlighting is applied.
What YAML files are used for
- Kubernetes and Docker configuration
- CI/CD pipelines
- OpenAPI specifications
- Application settings
Tips for working with YAML files
- Use spaces, never tabs, for indentation.
- Quote values such as yes, no, on and off if you need strings.
- Validate with a linter before deploying.
Is it private to open a YAML file here?
Yes. Drop and Open runs entirely in your browser. When you choose a file, the browser reads it into local memory and displays it. There is no upload, no account, and no server-side copy. You can check this by opening your browser's developer tools, watching the Network tab and dropping a file. Learn more in our guide to client-side and server-side viewers.