Folge.me logo
Folge Tools
Got Feedback? 📢

Add Text to Each Line Online

Prepend or append text to every line in one go. Add line numbers, bullets, prefixes, or suffixes. Use %N% for the line number and %L% for the line content. Free, private, and runs in your browser.

Original text

The text you want to work with (one line per row)

Options

Tip: use %N% for the line number and %L% for the line content.

How to count lines?

New text

Tool Introduction

Add Text to Each Line is a free online tool that lets you add the same text to the beginning or end of every line in your list or document. Whether you need to number lines, add bullets, wrap lines in quotes, create step-by-step lists, or format data for CSV or code, you can do it in seconds. Use constant text (e.g. "Step " or " ✓") or dynamic placeholders: %N% is replaced with the line number (0-based, 1-based, or zero-padded) and %L% with the line content. All processing runs in your browser—nothing is sent to any server—so your text stays completely private.

How to Use Add Text to Each Line

  • Paste or type your text in the "Original text" area (one line per row).
  • Check "Add text at the beginning" and/or "Add text at the end" to choose where to append.
  • Enter the text to add. Use %N% for the line number and %L% for the line content. Try the "Try demo" button to see an example.
  • Choose how to count lines: 0,1,2… (0-based), 1,2,3… (1-based), 00,01,02… or 01,02,03… (zero-padded).
  • Copy, download, or open the result in a new tab.

Key Features

  • Prepend or append: Add text at the beginning, end, or both of every line.
  • Line number placeholders (%N%): 0-based, 1-based, or zero-padded numbering.
  • Line content placeholder (%L%): Insert the line text in your prefix or suffix.
  • Instant preview: See the result in the "New text" area as you type.
  • Copy, download, open in new tab: Use the result however you need.
  • 100% private: All processing runs in your browser; no data is sent to servers.

Use Cases

  • Number lines (e.g. Step 1, Step 2… or 01. 02. …)
  • Add bullets, dashes, or commas before or after each line
  • Wrap each line in quotes or parentheses for CSV or code
  • Build step-by-step or to-do lists with checkmarks or labels
  • Format plain lists for import into spreadsheets or scripts

FAQs

What are %N% and %L%?

%N% is replaced with the line number (according to your chosen counting style: 0-based, 1-based, or zero-padded). %L% is replaced with the content of that line. Use them in the text you add at the beginning or end of each line to create numbered lists, step labels, or line references.

How do I add text only at the beginning or only at the end?

Check "Add text at the beginning of the lines?" and enter your text (with optional %N% or %L%) to add at the start of each line. Check "Add text at the end of the lines?" to add text at the end. You can use both at once (e.g. "Step %N%. " at the start and " ✓" at the end).

What do the line count styles mean?

"0, 1, 2..." is 0-based (first line = 0). "1, 2, 3..." is 1-based (first line = 1). "00, 01, 02..." and "01, 02, 03..." are zero-padded so line numbers align (e.g. 001, 002 for 100+ lines). Choose the style that fits your list or export format.

Can I use this tool to number lines or add bullets?

Yes. Use "Add text at the beginning" with "%N%. " for numbered lines (e.g. 1. Apple, 2. Banana) or with "- " or "• " for bullets. You can combine %N% with any constant text (e.g. "Step %N%. ", "Line %N%: ").

Is my text private?

Yes. All processing runs in your browser. No text is sent to any server. Your content never leaves your device, so you can use the tool with sensitive or confidential lists safely.

What can I do with the result?

You can copy the new text to the clipboard, download it as a .txt file, or open it in a new browser tab. Use the result in documents, spreadsheets, code, or any application that accepts pasted text.