CSV Tools

Add Row Numbers

Add a sequential row number column to your CSV

CSV Input

Try a sample:

CSV Output

Numbered CSV will appear here...

Options

CSV Format

Input

Output

How to Use This Tool

This tool adds a numbered column to your CSV so each row gets its own number. It runs directly in your browser, so your data is never uploaded anywhere.

If your file has a header row, the new column gets a heading too (default: “Row Number”). You can change the heading and the starting number in the Options panel.

  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. Configure options — Open the Options panel to change the column heading, starting number, or CSV parsing settings.
  3. Get your output — Copy the numbered CSV 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.
Can I change the starting number?
Yes. Use the 'Start number' option to begin numbering from any whole number. The default is 1.
Can I change the column name?
Yes. The 'Column heading' option lets you set any name for the new number column. The default is 'Row Number'. This option is only available when the header row is present.
Where is the number column added?
The number column is always added as the first column (leftmost) in the output.

More Row Operations Tools

9 tools

More CSV Tools

89 tools