jellykit logojellykit

Add & Remove Line Numbers

Add customizable line numbers with start index, step, padding, and separators, or strip existing numbering.

Loading Add & Remove Line Numbers in your browser — 100% client-side with zero uploads.

Related text tools

All Text tools

Find & Replace

Search and replace text with live match previews, case matching, whole-word, and regex modes.

Text

Extract Emails & URLs

Extract unique email addresses, URLs, domains, phone numbers, and numbers from raw text or logs.

Text

Whitespace & Invisible Character Visualizer

Highlight spaces, tabs, CRLF/LF line breaks, NBSP, and zero-width characters, then strip hidden artifacts in one click.

Text

Word Counter

Analyze text with word, character, sentence, paragraph, line counters, reading time, readability score, and keyword density.

Text

Remove Duplicate Lines

Clean lists by stripping duplicate or empty lines with optional trimming and sorting.

Text

Diff Checker

Compare two blocks of text or code side by side with clear added and removed lines.

Text

About Add & Remove Line Numbers

Add customizable line numbers to code, logs, or lists—with custom starting number, increment step, zero-padding, and separators—or strip existing line numbers cleanly.

How to use Add & Remove Line Numbers

  1. 1

    Switch between Add Line Numbers and Remove Line Numbers mode.

  2. 2

    Paste your lines of text and configure start number, step, separator (such as ". " or ": "), zero-padding, and blank-line skipping.

  3. 3

    Copy the numbered output or download it as a plain .txt file.

Frequently asked questions

Can I start numbering from 0 or an arbitrary line offset?

Yes. Set the Start number field to 0, 100, or any line number to match excerpts from larger code files.

What does Zero-pad do?

Zero-padding aligns short numbers with leading zeros (like 01, 02, 10) based on the total line count so columns stay aligned in monospace fonts.

What numbering styles can Remove Line Numbers strip?

It strips leading numeric prefixes followed by common delimiters including periods, parentheses, colons, hyphens, brackets, or pipes.