Add Prefix and Suffix to Lines

Paste a list below and add text to the start, end, or both sides of every line in one go.

  • Free, no sign-up
  • Runs in your browser

Drop your file here, or

TXT, CSV, JSON, Markdown, HTML, XML, DOCX, PDF, RTF and more

Type, paste with Ctrl V, or drop a file

Options

or press Ctrl EnterRuns in your browser

Result

Your edited text will appear here.

Add your text, then press Add prefix.

How to use Add Prefix

  1. Paste your lines into the input box.
  2. Enter a prefix, a suffix, or both. Spaces count, so “- ” adds a dash and a space.
  3. Choose whether to skip empty lines, then copy or download the result.

Example

Before
Apple
Banana
Orange
After
- Apple;
- Banana;
- Orange;

Prefix “- ” and suffix “;”.

Good for

  • Creating bulleted or Markdown lists
  • Wrapping values in HTML tags like <li>
  • Adding file paths or URLs before names
  • Building SQL or code statements from a list

What happens to your text

Your text is processed in your browser and kept only in this tab’s memory. It is not uploaded, saved or used for analytics.

Questions about Add Prefix

More answers in the TextVix FAQ.

Can I add quotes around every line?

Yes, or use Add Quotes, which can also escape quotes already inside each line.

Can I join the lines with commas?

Use Add Commas in “Join into one line” mode to create a comma-separated list.

Is my text uploaded anywhere?

No. This tool runs entirely in your browser. Your text and files are never sent to a server or stored.