Text Tools

Add Line Numbers Online

Prefix multiline text with line numbers. Configure the starting number, separator, zero-padding, and whether blank lines are skipped. Numbering runs in your browser.

TextLine numbersNumbering

Favorite this tool

No favorite storage mode has been selected.

Quick actions

Copy this tool URL or open the system share sheet on a supported device.

Use cases

  • Share numbered code snippets
  • Annotate teaching examples
  • Number log or roster excerpts

How to use

  1. Paste multiline text
  2. Set the start number, separator, padding, and skip-blank option
  3. Copy the numbered result

Example input and output

Input

Hello
World

Output

1. Hello
2. World

FAQ

Which separators are available?

Common choices such as period, colon, closing parenthesis, Tab, and two spaces are supported.

What happens when blank lines are skipped?

Blank lines stay blank and do not consume a number. The next non-empty line continues the sequence.

Tools

Related tools

Continue with another translated tool for a nearby task.

Remove Line Numbers

Remove Line Number Prefixes Online

Available

Detect and strip common leading line-number prefixes such as 1. , 1: , or 1) . Mid-line numbers stay untouched. Cleanup runs locally in your browser.

Text Line numbers Cleanup

Sort Lines

Sort Lines Online

Available

Sort multiline text with dictionary order, natural (numeric-aware) order, length order, or shuffle. Optional reverse, case-insensitive compare, dedupe, and blank-line removal all run in your browser.

Text Sort Cleanup

Remove Empty Lines

Remove Empty Lines Online

Available

Remove blank lines from text, with an option to also drop whitespace-only lines. Line cleanup runs entirely in your browser.

Text Cleanup Blank lines