Strings & Text

Transform, count, clean and reshape text. All 11 tools below run locally in your browser — nothing is uploaded.

Every Strings & Text tool

About Strings & Text tools

Text arrives in the wrong shape more often than not: a column pasted out of a spreadsheet, a name in camelCase that needs to be a URL slug, a log file with trailing whitespace on every line. These tools handle the reshaping that sits between having text and being able to use it.

The set covers the four things people reach for most — changing case, cleaning whitespace, working line by line (sort, reverse, dedupe, trim), and finding or replacing with regular expressions — plus counting, diffing and a few conversions that are easier to look up than to remember.

Frequently asked questions

How do I convert camelCase to snake_case?

Open the Case Converter and paste the identifier. It splits existing camelCase, PascalCase, snake_case and kebab-case names apart before recombining them, so any convention converts straight into any other.

Can I remove duplicate lines from a list?

Yes — Line Tools deduplicates, and also sorts, reverses, shuffles, numbers and trims. It works on whatever you paste, however long.

Which tool cleans up text pasted out of a PDF?

Whitespace Cleaner collapses the runs of spaces and strips the blank lines a PDF copy leaves behind; Line Tools then joins, sorts or renumbers what is left. Sending the first tool's output into the second handles most of it in two steps.