Skip to the tool
DevToolBench

Text & regex

Count words, rank word frequency, sort and dedupe lines, compare two texts, change case, make URL slugs and test regular expressions in your browser.

These tools work on plain text: a draft, a log excerpt, a column copied out of a spreadsheet, a list of URLs. The jobs are small, but the details decide whether the result is right — what counts as a word, whether file10 sorts after file9, whether two lines that differ only in trailing spaces are duplicates. Each page states the rule it applies, so the number or the order you get is one you can defend.

The word counter gives words, characters and reading time as you type, and is the one to use against a submission limit or a character cap. When the question is which words dominate a text rather than how many there are, the word frequency counter ranks words and short phrases by how often they occur and exports the table, which is a quick way to find the word you lean on too much. The lorem ipsum generator supplies placeholder paragraphs, sentences or words for a layout that needs text before the real copy exists.

For lists, sort lines orders alphabetically, naturally, numerically or by length; natural order is the one people expect from numbered file names and version tags. Remove duplicate lines strips repeats and reports how many went, with switches for ignoring case, surrounding spaces and empty lines — decide those before trusting the count. Text diff compares two versions line by line and highlights the changed words inside each line. For JSON, the value-aware JSON diff gives a cleaner answer, because reordered keys are not a change.

The case converter rewrites identifiers between camelCase, snake_case, kebab-case and six other conventions, and keeps acronyms such as the XML in XMLHttpRequest together instead of splitting them letter by letter. The slug generator turns a title into a clean URL slug, folding accents and spelling the German ß as ss, so Straße does not become strae. The regex tester runs your pattern in the browser's own JavaScript engine, with match groups and replacement. A pattern proven here behaves the same in Node, Deno and Bun, but PCRE, Python and Go differ in lookbehind, named groups and backtracking, so treat it as a strong hint for those.