Batch Add Prefix
Batch add prefixes and suffixes to text
📖 User Guide Click to view detailed instructions
Collapse Expand
📖 User Guide
Click to view detailed instructions
Batch Add Prefix
Batch add prefixes and suffixes to multi-line text, with multiple preset templates, suitable for SQL, JSON, URL format processing.
Features
- Batch add prefix to each line
- Batch add suffix to each line
- Multiple preset templates
- Custom separator support
- Line start/end/both positions
Use Cases
- SQL statement processing
- JSON array formatting
- URL parameter concatenation
- Markdown list generation
- Code comment addition
How to Use
- Enter multi-line text in the text box
- Select position (prefix/suffix/both)
- Enter prefix or suffix content
- Choose preset or custom template
- Click the "Add Prefix" button
- View and copy the result
Parameters
- Prefix: Text added at line start
- Suffix: Text added at line end
- Separator: Connection between prefix and content
- Position: Line start/end/both
Preset Templates
- SQL INSERT (INSERT INTO table VALUES)
- JSON Array ("item")
- URL Params (param=value)
- Markdown List (- item)
- Line Number Comments (// 1. item)
Notes
- Empty lines will not be processed
- Prefix and suffix can be added together
- Separator affects final format
- Presets can be customized as needed