Adding the same prefix to every line (bullets, quotes, labels) usually means doing it by hand or with a script. The Prefix Text Lines tool does it in the browser: paste your list, enter a prefix, and every line gets it—no sign-up and no data sent to a server.
What does Prefix Text Lines do?
Prefix Text Lines is a free online tool that adds the same prefix to the start of every line. Use bullets (-, *, •), quotes, numbers, or any custom text. It is used to turn a list into bullets, add quote marks, add a consistent label to log lines, or build markdown or config content. All processing runs in your browser; there is no upload, no storage, and no account required.
Key Features
- Same prefix for every line — Each line gets the same string at the start. Empty lines also get the prefix unless you remove them first.
- Any prefix — Bullets (-, *, •), quotes, numbers, or custom text. Each line gets the same prefix.
- Any input — Paste or type text with one or more lines. No size limit for in-browser processing.
- Instant result — Paste, set prefix, and see the result. Copy when ready.
- Privacy-first — All processing happens in your browser. Your text is never sent to any server.
- No account — Use as often as you need without sign-up.
How to Use Prefix Text Lines
- Open the Prefix Text Lines tool.
- Paste or type your text (one item or phrase per line).
- Enter the prefix (e.g.
- , * , ", or Item: ). View the result. Copy the result.
- Paste into your doc, markdown, or config. Use the "Use tool" button on the docs page if you are reading this from the documentation.
Real Use Cases
- Bullet lists — Turn a plain list into markdown or doc bullets (e.g.
- or * ).
- Quote marks — Add a quote character at the start of each line for quoted blocks.
- Log labels — Add a consistent prefix (e.g.
[INFO] or timestamp) to each line.
- Markdown and config — Build list items, config keys, or YAML-style content with a shared prefix.
- Code and data — Add a prefix to each line for import or templating (e.g.
key: ).
- Numbering — For simple numbering use a custom prefix with Number Text Lines; for fixed text use this tool.
Why Use Prefix Text Lines Instead of Alternatives?
- vs. Manual prefix — No need to type the prefix at the start of each line. One paste, one prefix, copy.
- vs. Find-and-replace — Replace start of line with a pattern; this tool is simpler when you just want one fixed prefix.
- vs. Number Text Lines — That tool adds incrementing numbers. This tool adds the same string every time.
- vs. Scripts — No coding. Works in any browser.
Ensure your input has line breaks between items. If you pasted comma-separated text, split by comma first (e.g. with Split Strings), then add the prefix.
Benefits for Writers, Developers, and Data Users
- Writers — Quick bullet or quote formatting. Build lists from plain text.
- Developers — Add labels or prefixes to log lines or config content. No one-off script.
- Data users — Prepare line-based data with a shared prefix for import or display.
Common Mistakes
- Prefix on the same line as the next line — Ensure your input has line breaks between items. If you pasted comma-separated text, split by comma first, then add the prefix.
- Wanting different prefixes per line — The tool adds the same prefix to every line. For per-line numbers use Number Text Lines.
- Forgetting to copy — The result is not saved. Copy before closing the tab or refreshing.
Frequently Asked Questions
What does prefix text lines do?
It adds the same prefix to the start of every line. Use bullets, quotes, numbers, or any custom text.
What can I use as a prefix?
Any string: bullets (-, *, •), quotes, numbers, or custom text. Each line gets the same prefix.
Paste or type text with one or more lines. Empty lines also get the prefix unless you remove them first.
Is my text stored?
No. All processing happens in your browser. Your text is never sent to any server.
When should I use prefix lines?
Use it to turn a list into bullets, add quote marks, add a consistent label to log lines, or build markdown or config content.
Why is my prefix on the same line as the next line?
Ensure your input has line breaks between items. If you pasted comma-separated text, split by comma first, then add the prefix.
Prefix Text Lines gives you bulk prefixes in seconds: paste, set prefix, copy. No account, no server round-trip. For suffix use Suffix Text Lines, for both use Prefix and Suffix Text Lines, and for line numbers use Number Text Lines.
Use Prefix Text Lines to add a prefix to each line.