Skip to content
beginthings.

Text & AI Writing

Text cleaner & line tools

Paste a list or a block of text, tick the clean-ups you need and copy the result. Everything runs on your device.

Your text

Clean up

Rearrange and format

For example , or a space. Use \n for a new line.

Result

How it works

Typical jobs: de-duplicate a list of email addresses or product names, sort a column pasted from a sheet, add quotes and commas around each item for a SQL or JSON list, or turn a list into one comma-separated line.

Steps always run in the same order, so the result is predictable: trim, collapse spaces, drop empty lines, remove duplicates, find and replace, sort, add prefix and suffix, number, then join. The result stays in your browser.

Frequently asked questions

How do I put quotes and commas around each line?

Put " in both the start and end boxes and a comma at the end, or use "Join with" to make one line.

Can I use a regular expression?

Yes. Tick the regex box. Use $1 in the replacement for a captured group. An invalid pattern shows an error and leaves the text alone.

Is my text uploaded?

No.

More free tools you might need