Add a prefix and suffix to every line of text in one step — wrap values in quotes for a code array or SQL IN list, turn lines into bullets or <li> items, or number them with {n}. Remove mode strips a prefix and suffix again. Paste text or convert many files at once; it all runs in your browser.
| Preset | Prefix | Suffix | apple becomes |
|---|---|---|---|
| Quote + comma | " | ", | "apple", |
| SQL list | ' | ', | 'apple', |
| Bullet | - | - apple | |
| Numbered | {n}. | 1. apple | |
| HTML | <li> | </li> | <li>apple</li> |
Use the 'Quote + comma' preset, or type " as the prefix and ", as the suffix.
Put {n} in the prefix, for example '{n}. ', and choose the starting number.
Yes. Switch to Remove and enter the prefix or suffix to strip.
They're left alone by default. Turn that off to wrap them too.
No. Everything runs in your browser.
The text is split into lines (CRLF or LF) and each line becomes prefix + line + suffix. The placeholder {n} in either the prefix or suffix is replaced with a running line number, starting from the number you choose, so '{n}. ' produces a numbered list. When 'leave blank lines alone' is on, empty or whitespace-only lines are kept as they are and don't advance the numbering. Remove mode does the reverse: it strips the prefix from lines that start with it and the suffix from lines that end with it, and leaves other lines unchanged, so it's safe on mixed input. Presets fill in common pairs — quote and comma for code arrays, single quotes for SQL IN lists, Markdown bullets and tasks, and <li> tags. Files dropped below are each converted and can be downloaded together as a ZIP.