Add Quotes to Lines
Wrap every line with double quotes - essential for converting plain text lists to string arrays, JSON data, or code snippets
Example transformation:
apple
banana
cherry
"apple"
"banana"
"cherry"
⌘K to search patterns
⌘↵ to transform text
Input
(⌘1 to focus)0 characters
Output
(⌘2 to focus)0 characters
No pattern selected
Select a pattern or enter custom regex above
Use ⌘K to find patterns
No pattern selected
Select a pattern or enter custom regex above
Use ⌘K to find patterns
Pattern Details
Search Pattern
^(.+)$
Replace Pattern
"$1"
Example
Input
apple banana cherry
Output
"apple" "banana" "cherry"
Tags
quotesformattingcode
How to Use This Pattern
- Enter your text in the input area above
- Click "Transform" or press ⌘+Enter to apply the transformation
- Copy the result from the output area
You can also use the command palette (⌘K) to quickly switch between different patterns.