# YAML Viewer

Free online YAML viewer. Open .yaml and .yml files directly in your browser without uploading them.

> Canonical page: https://elysiatools.com/en/viewers/yaml

- **Category:** Text Files

- **Supported formats:** .yaml, .yml

## Overview

This YAML viewer renders configuration files locally in your browser. YAML is widely used for app configs, Docker Compose, Kubernetes manifests, and CI/CD pipelines. Pick a sample or choose your own .yaml file to inspect keys, lists, and nested structure with proper indentation.

## When to use

- You received a YAML config file and need to read it without an editor.
- You want to check a Docker Compose or Kubernetes manifest quickly.
- You are on a device without a code editor and need to browse a .yml file.

## How it works

- Select a built-in sample or choose your own .yaml or .yml file.
- The viewer parses the YAML and renders it with syntax highlighting in the browser, with no upload.
- Inspect the structure, then switch samples or load another file any time.

## Use cases

- Reviewing app, Docker Compose, and Kubernetes configuration files.
- Inspecting CI/CD pipeline definitions.
- Browsing nested YAML data on any device.

## Samples

- **Simple App Config**: A minimal YAML application configuration with nested keys and lists
- **Docker Compose File**: A multi-service docker-compose.yml definition
- **Kubernetes Deployment**: A Kubernetes Deployment manifest with replicas and resource limits

## Frequently asked questions

### Is this YAML viewer free?

Yes. It runs in your browser for free and needs no registration or installation.

### Are my YAML files uploaded?

No. Files opened from your device stay on your device. Only public sample files come from the server.

### Does it handle both .yaml and .yml?

Yes. The viewer reads both .yaml and .yml extensions equally.

## Related content

- [Markdown Viewer](https://elysiatools.com/en/viewers/md): Free online Markdown viewer. Open .md and .markdown files directly in your browser without uploading them.
- [TXT Viewer](https://elysiatools.com/en/viewers/txt): Free online TXT viewer for plain text files. Open .txt files directly in your browser without uploading them.
- [JSON Viewer](https://elysiatools.com/en/viewers/json): Free online JSON viewer. Open .json, .jsonc, and .json5 files directly in your browser without uploading them.
- [XML Viewer](https://elysiatools.com/en/viewers/xml): Free online XML viewer. Open .xml files directly in your browser without uploading them.
- [HTML Viewer](https://elysiatools.com/en/viewers/html): Free online HTML viewer. Open .html and .htm files directly in your browser without uploading them.
- [JavaScript Viewer](https://elysiatools.com/en/viewers/js): Free online JavaScript viewer. Open .js, .mjs, .cjs, and .jsx files directly in your browser without uploading them.
