Wrap Lines (Add Prefix & Suffix)

Add a prefix and suffix to every line — turn a plain list into a quoted array, a SQL IN() list or HTML list items in one click. Free, no upload.

Presets
Wrapped output

🔒 Wrapped in your browser — nothing is uploaded.

Preset wrappers for arrays, SQL and HTML

Paste a plain list — one item per line — and wrap every line with a prefix and a suffix. Type your own wrappers or pick a preset to turn the list into a quoted array, a SQL IN() list, or HTML <li> items. Everything runs in your browser, so nothing is uploaded.

Prefix, suffix and blank lines

The prefix is added to the start of each line and the suffix to the end, while the line's own text is kept verbatim. Turn on "Skip blank lines" to drop empty lines so a stray blank or trailing newline in a pasted list never becomes an empty '' or <li></li> wrapper.

Frequently asked questions

How do I build a SQL IN() list from a plain list?

Paste your values one per line and choose the SQL preset — it sets the prefix to a single quote and the suffix to a quote plus comma, so each value comes out ready to sit inside the parentheses of an IN() clause.

What does the "Skip blank lines" option do?

When it is on, whitespace-only lines are dropped instead of being wrapped, so blank lines or a trailing newline in a pasted list never turn into empty wrappers. Turn it off to wrap every line, including blank ones.