Sample Rows
Pick a random sample of rows from your CSV
CSV Input
Drop a CSV file here or
Only the first file is used if multiple are dropped.
The request is made directly from your browser. No proxy is used.
Options
CSV Output
Sampled rows will appear here...
More Options
CSV Format
Input
Output
How to Use This Tool
This tool picks a random sample of rows from your CSV. Choose how many rows to sample by count or by percentage. It runs directly in your browser, so your data is never uploaded anywhere.
If your file has a header row, it stays at the top of the output automatically. Use the seed option for repeatable results, or the replacement option if you need the same row to appear more than once.
- Provide your CSV — Paste CSV text into the input area, drop a CSV file onto the File tab, or enter a URL on the URL tab.
- Choose your sample size — Switch between Count and Percentage mode using the tabs. Set the number of rows or the percentage you want to sample. The tool shows the total rows in your file to help you decide.
- Get your output — Copy the sampled CSV to your clipboard or save it as a .csv file.
FAQ
4 questionsDoes this tool upload my data?
What is the difference between Count and Percentage mode?
What does the seed option do?
What does 'with replacement' mean?
More Row Operations Tools
9 toolsFilter Rows
SoonKeep only rows that match your criteria
Sort CSV
SoonSort rows by any column, ascending or descending
More CSV Tools
47 toolsCSV Viewer
SoonView and explore CSV files in a sortable table
Filter Rows
SoonKeep only rows that match your criteria
Merge CSVs
SoonCombine multiple CSV files into one
Column Stats
SoonGet min, max, mean, and distribution per column
JSON to CSV
SoonConvert JSON arrays to downloadable CSV
Sort CSV
SoonSort rows by any column, ascending or descending
Split CSV
SoonBreak large CSVs into smaller chunks
CSV Editor
SoonEdit cells, add rows, and fix data inline
CSV to Excel
SoonExport CSV data to .xlsx spreadsheets
Data Profiler
SoonAutomatic data type detection and quality report
Excel to CSV
SoonImport .xlsx files and convert to CSV
Row Counter
SoonQuick count of rows, columns, and empty cells
TSV to JSON
SoonConvert tab-separated data into structured JSON output
CSV to QBO
SoonConvert CSV bank transactions into QuickBooks Online format
CSV to vCard
SoonTransform CSV contact lists into vCard (.vcf) files
CSV to QIF
SoonConvert CSV financial data into Quicken Interchange Format
CSV to VCF
SoonExport CSV contacts as VCF files for email and phone import
CSV to TXT
SoonConvert CSV data into plain text with customizable formatting
CSV to IIF
SoonConvert CSV transactions into Intuit Interchange Format for QuickBooks
CSV to KML
SoonGenerate KML geographic data files from CSV coordinates
CSV to Base64
SoonEncode CSV data as a Base64 string for safe transport
CSV to SPSS
SoonConvert CSV datasets into SPSS-compatible format for statistical analysis
CSV to SAS
SoonTransform CSV data into SAS dataset format
CSV to Stata
SoonConvert CSV data into Stata .dta format for econometric analysis
CSV to ORC
SoonConvert CSV into Optimized Row Columnar format for big data
CSV to Feather
SoonConvert CSV into Apache Arrow Feather format for fast analytics
CSV to Parquet
SoonConvert CSV into columnar Parquet format for efficient storage
CSV to LaTeX
SoonGenerate LaTeX table markup from CSV data
CSV to Xero
SoonConvert CSV bank statements into Xero-compatible import format
CSV to OFX
SoonConvert CSV financial data into Open Financial Exchange format