List tools
Add Prefix and Suffix
Turn a plain list into ready-to-paste code, SQL, paths, or numbered text.
Processed locally. Your input and output are never uploaded.
Tool overview
Add Prefix and Suffix tool overview
Add Prefix and Suffix decorates each line without editing values one by one. Built-in presets cover common code and data formats, while custom fields handle any wrapper.
Wrap rows for code, SQL, and paths
- Prepare values for an SQL IN clause
- Build a JavaScript string array
- Add URL path markers
- Create a numbered checklist
Decorate every selected line
- Paste one value per line.
- Enter a custom prefix and suffix or choose a preset.
- Enable numbering, quoting, or punctuation as needed.
- Choose whether empty lines should also be changed.
Markers, quoting, punctuation, and blanks
- Numbering is inserted before the custom prefix.
- Quote mode escapes matching quote characters inside values.
- Comma or semicolon punctuation is appended after the suffix.
- Empty lines are skipped unless explicitly enabled.
Turn values into ready-to-paste syntax
Before
alpha beta
After
'alpha', 'beta',
Escaping and intentionally empty rows
- Preset output may still need an outer bracket or SQL parentheses.
- Embedded quote characters are escaped.
- Numbering starts at one.
Browse all list tools tools โ
Questions
Add Prefix and Suffix FAQ
Can I change blank lines too?
Yes, but only after enabling Apply to empty lines.
Does the SQL preset execute anything?
No. It only formats text locally; it never connects to a database.