Tool category

Text Tools

These browser-based utilities count, clean, sort and transform text, including word and character counters, whitespace and duplicate-line cleanup, case conversion, text reversal and slug generation. Tools built around the same task, like the duplicate-line, empty-line and duplicate-word cleaners, link to each other for quick text-cleanup workflows.

Browse all 110 tools →

What you will find in the Text Tools category

The text tools clean, count, compare and transform text in the browser. For counting there are the Word Counter, the Character Counter, the Sentence Counter, the Line Counter and the Word Frequency Counter. For cleaning there are the Whitespace Remover, the Remove Empty Lines, the Remove Duplicate Lines and the Duplicate Word Remover. For changing text there are the Case Converter, the Find & Replace Text, the Prefix / Suffix Lines, the Text Reverser and the Text Sorter. For comparing and encoding there are the Text Diff Checker, the Text to ASCII Converter and the Slug Generator. Together they make short work of the tidying that text often needs before you publish it or import it elsewhere.

Counting words, characters, sentences and lines

Counts help you meet limits and understand length. The word counter shows words and gives a base for reading time, which is roughly 200 to 250 words a minute. The character counter shows characters with and without spaces for platforms with strict limits, such as a 160 character SMS or a 280 character post. The sentence counter helps you control average sentence length, where 15 to 20 words is a comfortable target, and the line counter is handy for poems, scripts and data files. The word frequency counter lists how often each word appears, which helps you spot overused words and check that a text covers its topic.

Cleaning messy text

Text copied from PDFs, emails and web pages often arrives with extra spaces, blank lines and repeated entries. The whitespace remover trims the ends and collapses runs of spaces, the empty line remover deletes blank lines, and the duplicate line remover keeps one copy of each line while preserving order. The duplicate word remover is designed for lists of words such as tags and keywords. A reliable routine is to trim, remove empty lines, remove duplicates, sort and count. Do the steps in that order, check the result against the original and keep a copy until you are sure that nothing important was lost.

Changing and reshaping text

Several tools change the shape of text. The case converter switches between uppercase, lowercase, title case and sentence case, and the find and replace tool changes every occurrence of a phrase. The prefix and suffix tool wraps each line in text, which turns a list of values into code, markup or a list of links. The text sorter orders lines alphabetically, numerically or by length, and the text reverser reverses characters, words or lines. The slug generator turns a title into a clean web address. For each tool the page explains common pitfalls, such as changing a word inside a longer word or sorting numbers as text.

Comparing text and looking inside it

The text diff checker compares two versions line by line and marks the lines that differ, which is useful for contracts, configuration files and edited drafts. The text to ASCII converter shows the numeric code of every character, which helps when text behaves strangely, for example when a hidden character prevents a match. Combined with the whitespace remover, these tools find the cause of problems that look like a mystery on screen. For important documents, such as legal contracts, use the comparison as a guide and confirm with a full read or the track changes feature of your word processor.

Typical workflows

A few combinations come up again and again. To prepare a list of email addresses, trim whitespace, convert to lowercase, remove duplicates and count the lines. To format a list for a database query, add quotes with the prefix and suffix tool and check the count. To check an essay, count words, sentences and frequency, and fix overused words. To compare two exports, sort both lists and run the diff checker. To publish an article, create a slug from the title and count the characters of the title and description. Each workflow takes only a minute, and each step has a tool page that explains the details.

Mistakes to avoid

The most common mistakes are changing text inside longer words with find and replace, removing blank lines that separate paragraphs or records, collapsing whitespace in code or tables, removing repeated words from prose where repeats are normal, and sorting numbers as text. Another is trusting a sentence or word count without checking how it handles abbreviations and hyphens. Work on a copy, check the first and last lines of the result, and use the line and word counters to confirm that the numbers make sense. The page for each tool lists the specific traps, and a quick read before you start saves time.

Tips, privacy and limits

The tools run in your browser, so the text that you paste is not sent to Dekuz and is not stored, which makes them suitable for drafts and lists that you would rather keep private. Even so, take care with truly sensitive information and keep your own backups. The tools work on plain text and do not preserve formatting such as bold or tables. For large files or complex editing, a dedicated editor or spreadsheet is more suitable. If you find a case that a tool handles badly, such as a script or format that confuses it, tell us on the contact page so that we can improve it.

Frequently asked questions about the text tools

Is my text sent to a server? No, the tools run in your browser and nothing is stored. Why does a word count differ between programs? Programs treat hyphens, slashes and symbols differently, so use the same tool throughout a project. Why do duplicate lines remain after I clean a list? Lines that differ in capitals, spaces or punctuation are treated as different, so trim and convert the case first. Will the whitespace remover break my code? It can, because some languages depend on indentation, so use it on prose and data, not on code. Why does the sorter put 10 before 2? Text sorting compares characters, so use numeric sorting for numbers.

A short glossary

A word is a group of characters between spaces, and a token is any unit that a tool treats as a separate item. Whitespace includes spaces, tabs and line breaks. A line break ends a line, and an empty line contains no characters. A duplicate is an item that appears more than once. Case refers to capital and lowercase letters. A slug is the readable part of a web address. A diff shows the differences between two texts. ASCII and Unicode assign numbers to characters. Sorting arranges items in an order, and a prefix and a suffix are text added to the start and the end of a line.

Getting started: a suggested path

Paste a paragraph that you know into the Word Counter and the Character Counter to see how counts work. Then try the cleaning tools on a messy list: the Whitespace Remover, the Remove Empty Lines and the Remove Duplicate Lines, checking the line count after each step with the Line Counter. Use the Case Converter to fix a heading and the Find & Replace Text tool to change a repeated word. Try the Text Sorter on a list of names and numbers to see the difference between text and numeric order. Finally, compare two versions of a short text with the Text Diff Checker.