✳ OMNIVIEWER.ORG
FR

Export YAML

safe · secure · no server · works offline · fast

…or paste a file you copied in Finder, or just start typing at the cursor.

Or try it now

↓ scroll for about & FAQ

Preview

Drop a CSV file, or use the file picker.

Choose a format, its options, and the maximum size of the download.

It’s one lens on OmniViewer’s YAML Viewer & Converter — Read & Convert .yaml: drop a file and every tab is one click away. OmniViewer opens every file format, entirely in your browser — no upload, no server.

FAQ

Is my YAML file uploaded anywhere?

No. OmniViewer is a static page with no server-side processing: your .yaml file is read directly by your browser, and JSON export, formatting, tree and statistics run locally. The file never leaves your computer.

How large a YAML file can I open?

The raw and hex views are windowed — they read only the bytes needed to paint the screen — so they open files of effectively unlimited size, up to 20 GB and beyond; the engine behind them has been tested in-browser with a 40 GB file. The JSON conversion, tree and stats parse the document in memory, so on very large files they work on a bounded prefix and tell you when they do.

Can I convert YAML to JSON?

Yes. Choose JSON in Export to download the parsed YAML. Multiple documents separated by --- become a JSON array. The converter supports mappings, sequences, flow collections, quoted and block scalars, anchors, aliases and merge keys.

Does OmniViewer tell me if my YAML is valid?

Yes. A bar above the views reports whether the file parses as valid YAML, how many documents it contains and how many keys — or, if it does not parse, the error. Past a size threshold the check is skipped to stay fast, and it says so.

What is YAML, and how is it related to JSON?

YAML (YAML Ain’t Markup Language) is a human-friendly data format that uses indentation instead of brackets, first released in 2001 and now at version 1.2 (2009). YAML 1.2 is a strict superset of JSON, so every JSON document is also valid YAML. YAML adds comments, anchors and aliases, block scalars for multi-line text, and multiple documents in one file.

Which YAML features does the viewer understand?

The common shapes real config files use: block mappings and sequences nested by indentation, flow collections ([a, b] and {k: v}), plain, single- and double-quoted scalars, literal (|) and folded (>) block scalars with chomping, anchors (&a) and aliases (*a), simple merge keys (<<:), multiple documents, comments, and core-schema typing of nulls, booleans, integers and floats. It is a pragmatic subset, not a spec-complete parser.