CSV Tools

Slice Rows

Extract a range of rows by start and end position

CSV Input

Try a sample:

Options

CSV Output

Sliced rows will appear here...

More Options

CSV Format

Input

How to Use This Tool

This tool lets you extract a specific range of rows from your CSV. Choose where to start and how many rows to keep — the tool handles 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 and offset only apply to your data rows.

  1. 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.
  2. Choose your range — Set the row count (how many rows to keep) and the offset (how many rows to skip from the start). The tool shows the total number of rows in your file to help you decide.
  3. Get your output — Copy the result to your clipboard or save it as a .csv file.

FAQ

4 questions
Does this tool upload my data?
No. It runs entirely in your browser using JavaScript. Your CSV data is never sent to a server.
How does the offset work?
The offset controls where to start reading from. An offset of 0 starts at the very first data row. An offset of 5 skips the first 5 rows and starts from the 6th.
Does the header row count against the row count or offset?
No. The header row is always preserved in the output. Both row count and offset apply only to data rows.
Are the row count and offset limited by the size of my file?
Yes. The tool automatically adjusts both values so they stay within the bounds of your data. You won't be able to set values that go past the end of the file.

More Row Operations Tools

9 tools

More CSV Tools

89 tools