TSV to YAML Converter
Convert TSV (Tab-Separated Values) data into YAML, with optional automatic type detection for numbers, booleans, and null.
Conversion Options
Recommended Settings
Pro Tips
- •The header row's column names become the YAML keys for every record in the list
- •With type inference on, 'true'/'false' become YAML booleans, numeric text becomes numbers, and empty cells become null
- •Enable unescaping if your TSV has literal \t, \n, or \r sequences that should become real characters
- •Disable 'First row contains headers' if your TSV has no header row - generic column1, column2... keys will be used instead
- •By default, keys appear in the same order as the TSV column list - enable sorting for alphabetical order instead
Most Popular
Most users keep header detection and type inference enabled for well-typed YAML
When to Use This Tool
Turn a TSV table of settings or feature flags into a YAML config file that your application, CI pipeline, or infrastructure tooling can load directly.
Bridge TSV-exporting tools and YAML-based APIs or configuration systems by converting tab-delimited exports directly into YAML documents.
Convert a TSV table of build steps, environment variables, or matrix values into YAML for GitHub Actions, GitLab CI, or other pipeline definitions.
Write sample data as an easy-to-edit TSV table (e.g., pasted from a spreadsheet), then convert it to YAML fixtures for tests or mock APIs.
How It Works
Split the TSV input into rows on newlines, and each row into cells on tab characters
Optionally unescape literal \t, \n, and \r sequences back into real characters
Use the first row as column headers, or generate generic column1, column2... keys if there's no header row
Map each remaining row's cells to the header's key names to build one record per row
Optionally infer numbers, booleans, and null from the cell text, then serialize the records as YAML
100% Private
Files never leave your device. All processing happens locally in your browser.
Lightning Fast
Powered by js-yaml for optimal performance on modern browsers.
Secure
No data collection, no tracking, no sign-up required.
Frequently Asked Questions
What TSV format does this tool expect?
Standard tab-delimited data: rows separated by newlines, columns separated by tab characters. By default, the first row is treated as column headers.
How does type inference work?
With type inference enabled, 'true'/'false' become YAML booleans, whole or decimal numbers become YAML numbers, 'null' and empty cells become YAML null, and everything else stays a string. Disable it to keep every value as the literal text from the TSV.
What does 'unescape special characters' do?
Some TSV exports represent literal tabs or newlines inside a value as the escape sequences \t, \n, or \r. This option converts those sequences back into their actual characters before building the YAML.
What if my TSV doesn't have a header row?
Disable 'First row contains headers' and every row will be treated as data, with generic keys like column1, column2 generated based on the widest row.
What does 'Sort keys alphabetically' do?
By default, keys in each YAML record appear in the same order as the TSV's column list. Enabling this option instead sorts the keys alphabetically within each record.