Add a List Item Prefix
Prepend a prefix before each list item. Runs entirely in your browser, so your data never leaves your device.
0 chars · 0 lines
Output
The result appears here as you type.
How to use Add a List Item Prefix
- 1. Paste your list. Enter your items into the input pane, one per line. Any list where every entry needs the same text added at the front works here.
- 2. Enter a prefix. Type the text to place before every item in Prefix, such as a quote marker, an indicator symbol, or a path segment shared by every entry.
- 3. Decide whether to skip empty items. Turn on Skip empty list items so blank lines stay blank instead of getting the prefix attached to them as well.
- 4. Copy the prefixed list. The output pane shows every item with the prefix added to the front. Copy the updated list into your document, code or spreadsheet.
When to use Add a List Item Prefix
Add a List Item Prefix inserts the same text at the start of every item in a list. Reach for Add a List Item Prefix whenever a list needs a consistent leading marker or path added to every line.
- Turning a list of quotes into a markdown block quote. A list of quoted lines needs a '>' at the start of every one to render as a markdown block quote, which the prefix option applies in a single pass.
- Adding a shared folder path to a list of filenames. A list of bare filenames all live in the same directory, and prefixing each with that directory path produces full relative paths ready to use in a script.
- Marking every line as a code comment. A list of notes needs to become commented-out lines in a code file, so adding a comment marker like a hash symbol as a prefix converts them at once.
- Building a URL list from a shared base. A list of page slugs needs to become full URLs sharing the same base address, which prefixing each slug with that base URL accomplishes without retyping it every time.
Examples
Prefix every item
Input
one two
Output
> one > two
About the Add a List Item Prefix tool
Add a List Item Prefix runs as plain JavaScript in your browser tab, with no server behind it. Prepend a prefix before each list item. Whatever you put in stays on your device from start to finish.
The tool is part of EditSafely's List Tools section, 114 single-purpose utilities built around the same idea: open the page, get the result, keep your data to yourself.
You can shape the output with 2 settings, including Prefix and Skip empty list items, and the result refreshes the moment you change one. A worked example further down the page shows exactly what the tool produces for a real input.
That local-first design has practical benefits beyond privacy. The tool keeps working on a flaky connection once the page has loaded, results are instant because nothing round-trips to a server, and it is safe to use with confidential material.
Frequently asked questions
Does Add a List Item Prefix cost anything?
Yes, it is completely free. All 2,658 tools on EditSafely work without an account, a subscription or usage limits.
Is it safe to paste sensitive or confidential data?
No data leaves your device. The whole tool is JavaScript that runs inside your browser tab, so there is no upload, no server-side processing and no log of what you did. If you disconnect from the internet after the page loads, it keeps working.
How much text can I process at once?
There is no fixed limit. Because the work happens on your own device rather than on a shared server, the practical ceiling is your machine's memory, which comfortably handles inputs far larger than typical online tools allow.
Do I need to sign up or install anything?
Nothing to install and no account needed. Open the page in any up-to-date browser, including on a phone or tablet, and the tool is ready.
How do I use the result?
The output panel has a one-click copy button, and you can keep refining the input while you work; the result updates in place as you type.