First N Rows
Extract the first N rows from your CSV
CSV Input
Try a sample:
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
First N rows will appear here...
More Options
CSV Format
Input
How to Use This Tool
This tool keeps only the first few rows of your CSV file. Just set how many rows you need and the tool does the rest. It runs directly in your browser, so your data is never uploaded anywhere.
If your file has a header row, it will be kept at the top of the output automatically. The row count only applies to your data rows.
- 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.
- Set the row count — Enter how many rows you want to keep from the top. The default is 10. The tool shows the total number of rows in your file to help you decide.
- Get your output — Copy the result to your clipboard or save it as a .csv file.
FAQ
3 questionsDoes this tool upload my data?
No. It runs entirely in your browser using JavaScript. Your CSV data is never sent to a server.
Does the header row count against the row count?
No. The header row is always preserved in the output and does not count against the row count. If you request 5 rows from a CSV with a header, you get the header plus 5 data rows.
Can I request more rows than my file has?
The row count is automatically limited to the number of rows in your file, so you'll always get a valid result.