Need to strip quotes, bullets, numbering, or other characters from the start and end of every line? This free tool removes any prefix and suffix from each line of your text instantly. Perfect for cleaning up JSON array entries, CSV data, numbered lists, and more.
Remove any text from the beginning of every line. Strips the prefix only if the line starts with it.
Remove any text from the end of every line. Strips the suffix only if the line ends with it.
Trim leading and trailing whitespace from each line before checking for prefix and suffix matches.
See results update instantly as you type. No buttons to click, no delay.
Strip quotes and commas from JSON array entries pasted as text lines.
All processing runs in your browser. Your text never leaves your device.
Enable Auto-fill to carry your output to the next tool. Navigate back and forward with full state restoration — input, output, and all settings are preserved.
Given a JSON array like ["apple", "banana", "cherry"], trim the quotes and commas to get a clean list of values for a spreadsheet.
Remove leading "- " or "* " from markdown list items to get plain text entries, ready for use in another format.
Add prefix and suffix to every line (opposite of Trim Lines).
Search and replace text with regex support.
Trim spaces, remove tabs, and collapse multiple spaces.
Remove lines by pattern, regex, or blank line rules.
Sort text lines alphabetically or numerically.