Convert YAML to a List
Create a list from YAML. Runs entirely in your browser, so your data never leaves your device.
Runs on your device, nothing uploaded
0 chars · 0 lines
Output
Create a list from YAML.
Type or paste above to see the result here.
What you paste never leaves this tab
Convert YAML to a List is JavaScript that your browser has already downloaded, and it does the whole job on your own machine. On a normal site, the text you paste is sent to a server that can log it, cache it or keep it. Here it is read and transformed inside this tab and nowhere else.
- No upload
- No length limit
- Works offline once loaded
- Nothing stored or logged
How to use Convert YAML to a List
- 1. Paste your YAML sequence. Put the dash-prefixed YAML sequence into the input pane, such as a list copied from a docker-compose.yml file or CI workflow.
- 2. Check the extracted values. The tool strips the leading dash and space from each line, leaving just the plain values in the same order the sequence listed them. For a mapping, Mappings as picks key: value lines, the values only or the keys only.
- 3. Copy the plain list. Copy the resulting one-item-per-line list into a spreadsheet, document, or plain text field wherever the raw values are more useful than YAML syntax.
When to use Convert YAML to a List
Convert YAML to a List strips the dash syntax from a YAML sequence and returns the plain values, one per line. Use Convert YAML to a List whenever a YAML sequence needs to become a readable plain list rather than staying in config syntax.
- Reading a dependency list from a config file. A docker-compose.yml or requirements-style YAML file lists dependencies as a sequence and you want the plain names for a document. Convert it to a list to extract them.
- Pulling values out of a CI workflow file. A GitHub Actions or GitLab CI file has a YAML sequence of job names or steps you want to review outside the file. Convert it to a plain list for a quick read.
- Extracting hosts from an Ansible inventory. An inventory file lists hosts as a YAML sequence under a group name and you want just the hostnames as plain text. Paste the sequence to extract them.
- Converting a Kubernetes manifest value for editing. A Kubernetes manifest has a YAML list under a given key that you want to edit as plain text before converting it back. Extract the plain values first.
Examples
YAML sequence to items
Input
- apples - milk - eggs
Output
apples milk eggs
Mapping to key: value items
Input
fruit: apple count: 2
Output
fruit: apple count: 2
Mapping values only
Input
fruit: apple count: 2
Output
apple 2
About the Convert YAML to a List tool
Convert YAML to a List does its work locally, right in the browser. Create a list from YAML. There is no upload step, no queue and no account, and your data never travels over the network.
It belongs to the List Tools collection on EditSafely, a set of 114 small, focused List utilities that share the same instant, private workspace.
You can shape the output with the Mappings as setting, and the result refreshes the moment you change it. 3 worked examples further down the page show exactly what the tool produces for real inputs.
Running locally also makes the tool fast and dependable: results appear as soon as your input does, there is no server outage that can take it down mid-task, and confidential data can be processed without a second thought.
Frequently asked questions
Is Convert YAML to a List free to use?
Yes, it is completely free. All 2,943 tools on EditSafely work without an account, a subscription or usage limits.
Is it safe to paste sensitive or confidential data?
Everything happens locally. Your browser downloads the tool's code once, then does all the processing itself; nothing you enter is transmitted, stored or logged. You can even go offline after the page loads and it will still work.
How much text can I process at once?
There is no fixed limit; your device's memory is the ceiling. Up to 10 MB the result updates as you type, after a short pause that grows with the size. Above 10 MB a Run button appears so typing stays smooth, and files open up to 50 MB. A very long result shows its first 2,000 lines on screen, while Copy and Download always include all of it.
Do I need to sign up or install anything?
No. The tool works in any modern browser on desktop, tablet or phone. There is no account to create, no extension to add and no software to install.
How do I use the result?
The output panel has a one-click copy button, and you can keep refining the input while you work; the result updates in place as you type.