Shuffle YAML Files Online
Randomly shuffle the row order of YAML files directly in your browser. Useful for randomising data before sampling or ML train/test splits.
About this tool
Randomly shuffle the row order of a YAML file in one click. Drop the file, click Shuffle, and download a new file with rows in a random order. Useful before train/test splitting for machine learning, random sampling, or removing any ordering bias in your data. Your data never leaves your device.
Frequently Asked Questions
Does shuffling a YAML file change the data in any way?
No. Only the row order changes. All column values, data types, and column names remain exactly the same. Shuffling is a purely positional operation.
Is the shuffle reproducible?
No — each run produces a different random order. Each shuffle uses a non-deterministic random seed. For a reproducible shuffle, use the SQL Query tool with ORDER BY md5(CAST(rowid AS VARCHAR)) or a similar hash-based ordering.
Why would I shuffle a YAML file?
The most common reason is preparing data for machine learning — shuffling ensures that train and test splits are random rather than ordered by time, ID, or any other latent pattern in the original file.
Is my data private?
Yes — completely. Your file is never uploaded to any server. Everything runs locally in your browser using WebAssembly — processing happens entirely inside your tab. Once you close the tab, nothing is retained.
What is the maximum file size?
The free limit is 50 MB. For larger files, performance depends on your device's available memory — most modern machines handle 500 MB to 1 GB comfortably.
Related Tools
Shuffle Excel Files Online
Randomly shuffle the row order of Excel files directly in your browser. Useful for randomising data before sampling or ML train/test splits.
Shuffle JSON Files Online
Randomly shuffle the row order of JSON files directly in your browser. Useful for randomising data before sampling or ML train/test splits.
YAML Viewer Online
View and inspect YAML files directly in your browser. Browse rows, check column names and data types — no upload required, your data stays on your device.
Convert CSV to YAML Online
Convert CSV files to YAML directly in your browser. Download clean, human-readable YAML — no upload required.
Convert TSV to YAML Online
Convert TSV files to YAML directly in your browser. Download clean, human-readable YAML — no upload required.