CSV to YAML Converter
LiveCSV to YAML Converter converts a CSV file to YAML, either as a list of records or as a list of lists.
Runs in your browser: what you enter is processed on your device and not uploaded to MyToolDock.
CSV to YAML Converter converts a CSV file to YAML, either as a list of records or as a list of lists.
Runs in your browser: what you enter is processed on your device and not uploaded to MyToolDock.
CSV to YAML Converter converts a CSV file to YAML, either as a list of records or as a list of lists. Text that YAML could mistake for something else, such as yes, no or 007, is put in quotes so it stays text. Up to 2,000,000 cells.
Tick the typed option to get real numbers, true/false and null instead of text.
Choose a CSV file, say whether the first row is a header, and pick records (name: value lines) or a list of lists. Optionally put the list under a key, leave out empty cells, or turn numbers, true/false and empty cells into real YAML values.
Download the YAML or copy it. The preview shows the first lines.
Output was read back with PyYAML and compared with the original rows: 60 random files with about 60 awkward values each (yes, no, null, ~, 007, 1:30, 2020-01-01, text with colons, hashes, brackets, quotes, leading and trailing spaces, tabs, new lines, accents, emoji), in both layouts, typed and untyped, with and without a key. Types and key order were also checked.
Text that YAML could read as another type is put in quotes so it stays text, so a plain number is quoted unless you tick the typed option. Large whole numbers over 15 digits stay text. Empty or repeated column names get a number added. Up to 2,000,000 cells.
To keep it text. Tick the typed option to get real numbers.
They are written as one quoted line with \n inside.
No. It is read in your browser.
CSV to YAML Converter converts a CSV file to YAML, either as a list of records or as a list of lists. Text that YAML could mistake for something else, such as yes, no or 007, is put in quotes so it stays text. Up to 2,000,000 cells.
A CSV file with a header row (optional).
Files are read in your browser and never uploaded.
Yes, MyToolDock CSV to YAML Converter is 100% free with no registration, subscriptions, or limits. All features are fully unlocked.
MyToolDock publishes written guides on the topic: CSV to JSON: Simplifying Web Data Imports; YAML to JSON: Why Developers Transition Formats. Each guide links back to the tools it covers.