Add Row Numbers to NDJSON Files Online
Add a row number index column to NDJSON files directly in your browser. Set the column name and starting number — no upload required.
About this tool
Add a sequential row number column to a NDJSON file. Set the column name and starting index, then download the updated file. Handy for creating stable IDs or tracking row positions after sorting.
Frequently Asked Questions
Where is the row number column added in the NDJSON file?
It is added as the first column. You can rename it to anything you like before downloading.
What number does the row index start from?
You can set the starting number — the default is 1. Set it to 0 if your downstream system expects zero-based indices.
Does adding row numbers to a NDJSON file affect existing data?
No. All existing columns and their values are preserved unchanged. Only the new index column is added.
Is my data private?
Yes — completely. Your file is never uploaded to any server. Everything runs locally in your browser using WebAssembly — processing happens entirely inside your tab. Once you close the tab, nothing is retained.
What is the maximum file size?
The free limit is 50 MB. For larger files, performance depends on your device's available memory — most modern machines handle 500 MB to 1 GB comfortably.
Related Tools
Convert TSV to NDJSON Online
Convert TSV files to NDJSON format directly in your browser. No upload required — your data never leaves your device.
Convert Arrow to NDJSON Online
Convert Arrow files to NDJSON format directly in your browser. No upload required — your data never leaves your device.
Convert Excel to NDJSON Online
Convert Excel files to NDJSON format directly in your browser. No upload required — your data never leaves your device.
Convert NDJSON to YAML Online
Convert NDJSON files to YAML directly in your browser. Download clean, human-readable YAML — no upload required.
Convert YAML to NDJSON Online
Convert YAML files to NDJSON format directly in your browser. No upload required — your data never leaves your device.