Processed in your browser — files never leave your device
Quick:
Input
Output
0 lines
Advanced Options
Processing Options
Statistics
Lines: 0
Characters: 0
Words: 0

Paste a list of lines, pick what goes before and after each one, and copy the result. Prefix, suffix, or both — it updates live as you type. One-click presets handle the common stuff: quote wrapping, bullet lists, numbering, JSON arrays, CSV rows.

Great for formatting SQL IN clauses, building HTML tags around filenames, or turning raw notes into Markdown checklists. And everything runs in your browser. Nothing gets uploaded.

How It Works

Paste Your Lines
→
Set Prefix & Suffix
→
Copy Formatted Output

Your input gets split on every newline. The prefix goes on the front of each line, suffix on the end. And the output updates while you type — no button needed. Presets like "1. 2. 3." or "JSON" run their own logic, but the idea is the same. All of it happens in JavaScript right in your browser tab. Quick.

Examples

Building a SQL IN Clause

Pulled a list of emails from a spreadsheet. Need them quoted for a WHERE clause. Two seconds.

INPUT
[email protected] [email protected] [email protected]
OUTPUT
'[email protected]', '[email protected]', '[email protected]',

Wrapping Filenames in HTML Image Tags

A designer handed you 40 image filenames. And each one needs an <img> tag around it. Typing those by hand? Not happening. Set prefix to <img src=" and suffix to " alt=""> and you're done in about three seconds.

INPUT
hero-banner.jpg team-photo.png office-interior.webp product-shot-01.jpg
OUTPUT
<img src="hero-banner.jpg" alt=""> <img src="team-photo.png" alt=""> <img src="office-interior.webp" alt=""> <img src="product-shot-01.jpg" alt="">

Meeting Notes to Markdown Checklist

You scribbled down four action items. Now the README needs a task list. So you set prefix to - [ ] and paste. That's it. But here's a thing people miss — the space after the bracket matters. Without it your Markdown renderer won't pick up the checkbox. This tool handles it because the preset includes the space already.

INPUT
Review Q1 budget Finalize vendor contract Update team wiki Send recap email
OUTPUT
- [ ] Review Q1 budget - [ ] Finalize vendor contract - [ ] Update team wiki - [ ] Send recap email

Who Uses This

👨‍💻 Developers

Wrapping values for SQL IN clauses, slapping HTML tags on file lists, building JSON arrays from raw text.

📊 Data Analysts

Quoting column values before CSV imports or prefixing schema names across dozens of table references.

✍️ Writers & Editors

Turning plain lists into numbered or bulleted outlines for blog posts and docs. Takes two seconds.

📣 Marketers

Formatting batches of UTM-tagged URLs or subject-line variants into spreadsheet-ready rows with quotes and commas.

Common Mistakes

Trailing blank lines in the input

An empty line at the bottom of your paste gets the prefix and suffix too. Ghost row. Turn on "Skip empty lines" in Advanced Options, or trim before pasting.

Forgetting the space after a prefix

Using - instead of - gives you -Buy milk. Annoying. The space is part of the prefix — type it in the field itself.

Putting the closing quote in the prefix box

Flips everything backwards. Prefix = before the line, suffix = after. Always glance at the live preview before copying.

Technical Details

Share:

Frequently Asked Questions

How do I add text to the beginning of each line?

Paste your lines and type the text you want in the Prefix field. Every line gets it added to the front, live, as you type. No submit button or anything. And if you need a space after the prefix, type the space in the field too — the tool won't add one for you.

Can I add text to both the beginning and end of each line?

Yes. Fill in both the Prefix and Suffix fields at the same time. So if you want each line wrapped in single quotes with a trailing comma, put ' in prefix and ', in suffix. Works for HTML tags too — <li> in front, </li> on the end.

Is there a way to number lines automatically?

Click the "1. 2. 3." preset button. It adds an incrementing number and period to each line automatically. You don't type anything — the preset handles the counting. But if you want a custom format like "Line 1:" you'd type that in the prefix field instead.

Does this tool upload my text to a server?

No. Everything runs in JavaScript inside your browser. Your text is never sent anywhere. Close the tab and it is gone — no logs, no storage, no tracking. So it's fine for client data or internal lists.

How many lines can I process at once?

No fixed cap. It's been tested with over 50,000 lines without issues. Your browser's memory is the only real limit, and for most use cases that won't matter at all.

Copied!