Skip to content
MyDailyTool

Prefix / Suffix Wrapper

Wrap every line with a custom prefix and suffix. Useful for building SQL IN clauses ('value'), quoting shell arguments, wrapping HTML tags, or generating code from a list.

How to use the prefix / suffix wrapper

Set a prefix and a suffix; every line gets wrapped. Useful for SQL IN clauses, code generation, or quoting lists.

Formula & explanation

Pure string concatenation; no escaping is performed — that's your responsibility for the target context.

Examples

Prefix ' and suffix ', → SQL list: 'apple', 'banana', 'cherry',

Frequently asked questions

How do I format a list for a SQL IN clause?
Set prefix to ' and suffix to ', then paste your values. Copy the result and paste inside IN ( … ).
Can I add a prefix without a suffix, or vice versa?
Yes — leave either field blank and only the non-empty side is added to each line.
Does the tool escape quotes or special characters?
No, it is pure string concatenation. If your values contain single quotes, escape them manually before pasting.
What is 'Skip blank lines' for?
It prevents blank lines in your input from becoming lines with only the prefix/suffix, keeping the output clean.

Related list tools tools