Add or Remove Line Prefixes & Suffixes
Local ProcessingAdd or remove text, line numbers, quotes, brackets or backslashes on every line.
How It Works & Processing Standards
Add or remove text, line numbers, quotes, brackets or backslashes on every line.
Tool processing runs in your browser. If you create a calculator or conversion share link, its values are included in the URL. See the privacy policy for account, analytics and advertising data.
Current Limits
- Maximum input length: 2,000,000 characters
Applies the same change to every line at once — handy for quoting values for a SQL IN clause or numbering a list.
What You Can Do
- Prefix and suffix
- Adds the same text before or after every line.
- Line numbers
- Number lines from any start with any separator, or remove existing numbers.
- Quotes and brackets
- Wraps each line in "", '', ``, (), [], {} or <>.
- Backslashes
- Adds or removes backslashes before special characters.
How to Use Add or Remove Line Prefixes & Suffixes
- 1Choose a taskPick what to do to each line.
- 2Enter the list and optionsSet the text to add, the start number, the quote type and so on.
- 3CopyCopy the updated list.
Examples
Add "- " before each item
Input: 사과 / 바나나
Result: - 사과 / - 바나나
Line numbers
Input: 첫째 / 둘째 / 셋째 (from 1, ". ")
Result: 1. 첫째 / 2. 둘째 / 3. 셋째
Wrap in single quotes
Input: apple / banana
Result: 'apple' / 'banana'
Common Use Cases
- Building a SQL IN ('a','b') list
- Making Markdown bullet or numbered lists
- Removing numbers from a copied list
Frequently Asked Questions (FAQ)
How do I join them with commas?
After quoting, use lines → comma list in the Split & Join tool.
Are empty lines affected?
Yes, every line is. Remove blank lines first with the Whitespace Cleaner.
