Skip to content
ToolSuite

Add Row Numbers to CSV

Insert a sequential number column at the start of every row.

Processed in your browser

Your result will appear here as soon as you add some input.

How to use it

  1. 1Paste your CSV, or open the file in a text editor and copy it in.
  2. 2Adjust the delimiter and header options if the preview looks wrong.
  3. 3Adjust the options if you need something other than the defaults.
  4. 4Download the result, or copy it straight back into your spreadsheet.

About the Add Row Numbers to CSV

A stable row number makes it possible to restore the original order after sorting, and gives you something to quote when reporting a bad row.

Questions people ask

Is your data uploaded to a server?

No. This tool runs entirely in your browser using standard web APIs, so your data never leaves your device. You can confirm it by opening your browser's network panel while the tool runs, or by disconnecting from the internet after the page has loaded.

Is it free, and do I need an account?

Yes, it is free, and there is no account, no sign-up and no watermark on the result. The project is funded by optional donations.