Text Tools
Count, transform, compare, and encode plain text — from word counters and case converters to diff checkers, markdown-to-HTML, and regex-powered find & replace. Everything runs in your browser.
Most popular
- textWord Counter● ready
Live word, character (with/without spaces), sentence and paragraph counts, plus estimated reading and speaking time and a keyword-density breakdown. Runs entirely in your browser.
- textCase Converter● ready
Instantly convert text between 11 casing conventions — UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, alternating and inverse. Smart Title Case correctly handles minor words.
- textText Diff● ready
Side-by-side or unified diff of two text inputs at line or word granularity, powered by a Myers-style diff algorithm. Additions, removals and changes are highlighted with +/− markers and strikethrough — never by color alone.
- textFind & Replace● ready
Search a pasted document for a term or pattern and replace all or the next match — with case-sensitive, whole-word and regex modes. Capture groups ($1) work in regex replacements, and the match count updates live.
- textDedupe Lines● ready
Remove exact-duplicate lines keeping the first occurrence — with case-sensitive/insensitive comparison, whitespace trimming, blank-line filtering and optional sorting. See exactly which lines were removed.
Count & Analyze
- textWord Counter● ready
Live word, character (with/without spaces), sentence and paragraph counts, plus estimated reading and speaking time and a keyword-density breakdown. Runs entirely in your browser.
- textLine Counter● ready
Count total, non-empty and blank lines, see your longest line, and add sequential line numbers to pasted text.
Transform & Clean
- textCase Converter● ready
Instantly convert text between 11 casing conventions — UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, alternating and inverse. Smart Title Case correctly handles minor words.
- textWhitespace Remover● ready
Clean up messy pasted text — trim every line, collapse multiple spaces into one, or remove all whitespace and line breaks entirely.
- textText Sorter● ready
Sort pasted lines alphabetically (A–Z / Z–A), numerically, by length, in natural order or randomly — with case-sensitivity and optional duplicate removal in the same pass.
- textDedupe Lines● ready
Remove exact-duplicate lines keeping the first occurrence — with case-sensitive/insensitive comparison, whitespace trimming, blank-line filtering and optional sorting. See exactly which lines were removed.
- textText Reverser● ready
Reverse text instantly — the whole string, the word order, each word's letters, or the line order. Live result with copy/download.
Compare & Convert
- textText Diff● ready
Side-by-side or unified diff of two text inputs at line or word granularity, powered by a Myers-style diff algorithm. Additions, removals and changes are highlighted with +/− markers and strikethrough — never by color alone.
- textMarkdown → HTML● ready
Parse CommonMark (plus tables and strikethrough) into standards-compliant HTML with a live preview, powered by the `marked` parser. Sanitization of embedded raw HTML is on by default.
- textHTML → Text● ready
Convert HTML markup into clean, readable plain text — tags stripped, entities decoded, block elements become line breaks.
- textEncode / Decode● ready
One unified tool for Base64 (UTF-8 safe), URL/percent encoding and HTML entity encoding — with an encode/decode toggle per scheme and clear inline errors for malformed input.
Generate
- textLorem Ipsum● ready
Generate classic Lorem Ipsum placeholder text by word, sentence or paragraph count — with the traditional 'Lorem ipsum dolor sit amet…' opening (toggleable), reproducible seeded output, and copy/download.
- textPassword Generator● ready
Generate strong random passwords with configurable length and character-set rules, using cryptographically secure randomness. Copy one or download the batch.
- textText → Slug● ready
Convert titles or any text into lowercase, URL-safe slugs — transliterating accented characters (café → cafe), stripping punctuation, with configurable separator and word-boundary max-length truncation.
All tools
- textWord Counter● ready
Live word, character (with/without spaces), sentence and paragraph counts, plus estimated reading and speaking time and a keyword-density breakdown. Runs entirely in your browser.
- textCase Converter● ready
Instantly convert text between 11 casing conventions — UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, alternating and inverse. Smart Title Case correctly handles minor words.
- textDedupe Lines● ready
Remove exact-duplicate lines keeping the first occurrence — with case-sensitive/insensitive comparison, whitespace trimming, blank-line filtering and optional sorting. See exactly which lines were removed.
- textText Diff● ready
Side-by-side or unified diff of two text inputs at line or word granularity, powered by a Myers-style diff algorithm. Additions, removals and changes are highlighted with +/− markers and strikethrough — never by color alone.
- textFind & Replace● ready
Search a pasted document for a term or pattern and replace all or the next match — with case-sensitive, whole-word and regex modes. Capture groups ($1) work in regex replacements, and the match count updates live.
- textMarkdown → HTML● ready
Parse CommonMark (plus tables and strikethrough) into standards-compliant HTML with a live preview, powered by the `marked` parser. Sanitization of embedded raw HTML is on by default.
- textEncode / Decode● ready
One unified tool for Base64 (UTF-8 safe), URL/percent encoding and HTML entity encoding — with an encode/decode toggle per scheme and clear inline errors for malformed input.
- textText Sorter● ready
Sort pasted lines alphabetically (A–Z / Z–A), numerically, by length, in natural order or randomly — with case-sensitivity and optional duplicate removal in the same pass.
- textText → Slug● ready
Convert titles or any text into lowercase, URL-safe slugs — transliterating accented characters (café → cafe), stripping punctuation, with configurable separator and word-boundary max-length truncation.
- textLorem Ipsum● ready
Generate classic Lorem Ipsum placeholder text by word, sentence or paragraph count — with the traditional 'Lorem ipsum dolor sit amet…' opening (toggleable), reproducible seeded output, and copy/download.
- textText Reverser● ready
Reverse text instantly — the whole string, the word order, each word's letters, or the line order. Live result with copy/download.
- textWhitespace Remover● ready
Clean up messy pasted text — trim every line, collapse multiple spaces into one, or remove all whitespace and line breaks entirely.
- textLine Counter● ready
Count total, non-empty and blank lines, see your longest line, and add sequential line numbers to pasted text.
- textHTML → Text● ready
Convert HTML markup into clean, readable plain text — tags stripped, entities decoded, block elements become line breaks.
- textPassword Generator● ready
Generate strong random passwords with configurable length and character-set rules, using cryptographically secure randomness. Copy one or download the batch.
About Text Tools
All our text tools run client-side to keep your snippets private. They are designed to be fast, offline-friendly, and keyboard accessible.
Frequently asked questions
Are these tools offline-capable?
Yes. Once you have loaded a tool page once, the service worker keeps it available even without a network connection. All text processing happens locally in your browser.
How is word count calculated — does it include punctuation?
Words are counted as runs of letters and numbers, with internal apostrophes and hyphens kept intact (so don't and well-known are single words). Punctuation attached to a word is excluded from the count but still counted in the character totals.
What's the difference between a text diff and a merge conflict?
A diff simply highlights the differences between two versions of a text. A merge conflict is what happens when a version-control system tries to combine two edits that touched the same lines and can't decide which to keep — resolving it requires deciding what the final text should be.
Is it safe to paste sensitive text into an online tool?
Yes. Every tool in this category processes text entirely in your browser — nothing is uploaded to any server. This matters especially for confidential drafts, contracts, and code.
What is Base64 encoding and when is it actually needed?
Base64 encodes binary data as ASCII text using 64 safe characters. It's useful for embedding binary in text-only channels (email attachments, JSON fields, data URLs), but it is not encryption — it grows data by ~33% and is trivially reversible.
Why does removing duplicate lines change my file's line order?
It doesn't have to. Our Duplicate Line Remover preserves the original order by default, keeping the first occurrence of each line. Sorting the result is an optional toggle, since many people expect a deduplicated list to be sorted too.