✏️ Free Text Tools
Fourteen tools for counting, converting, cleaning and encoding text.
Text work splits into a few recurring shapes: measuring it, reshaping it, cleaning it and encoding it so another system will accept it. These tools cover all four. Each one has its own page with its own explanation, because a word counter and a regular expression tester have almost nothing in common beyond operating on text — and nothing here is uploaded, so a draft, a keyword list or a configuration file can be processed without leaving your device.
All Text Tools
Word Counter
Words, characters, sentences, paragraphs and reading time, updated as you type.
Case Converter
Nine cases, including a Title Case that leaves articles and short prepositions alone.
Lorem Ipsum Generator
Placeholder text by paragraph, sentence, word or list item, plain or wrapped in HTML.
Base64 Encoder
Encode and decode text with correct UTF-8 handling and the URL-safe alphabet.
URL Encoder
Percent-encoding both ways, with the component and whole-URL rules kept separate.
Remove Duplicate Lines
Deduplicate a list, decide what counts as the same, or show only the repeats.
Text Diff Checker
Compare two versions line by line and see what was added and removed.
Regex Tester
Live match highlighting, a match table and capture groups as you type.
JSON Formatter
Validate, beautify and minify JSON, with the error location pinpointed.
JSON to CSV
Turn an array of objects into a spreadsheet-ready file with RFC 4180 quoting.
CSV to JSON
Quoted commas, escaped quotes and embedded newlines all handled correctly.
Hash Generator
SHA-256, SHA-1 and SHA-512 computed with the browser’s own crypto API.
UUID Generator
Random version 4 identifiers in bulk, from a cryptographic random source.
Password Generator
Strong random passwords with no modulo bias and a real strength estimate.
Characters, bytes, and what "text" actually means
Several of these tools depend on a distinction that stays invisible until it breaks something: the difference between a character and a byte. JavaScript strings are sequences of UTF-16 code units, and characters outside the Basic Multilingual Plane — most emoji, some CJK extensions, historic scripts — occupy two of them. A tool reading the raw length reports 2 for one emoji; the word counter here iterates by code point and reports 1.
Base64 rests on the same distinction. It does not encode text, it encodes bytes, mapping every three bytes onto four ASCII characters and expanding the data by roughly a third. To encode text you must first choose how to turn it into bytes, and that choice is the encoding — UTF-8 here, which spends one byte on an ASCII character and two to four on an accented, Cyrillic, Greek or CJK one. Plain English therefore produces predictable output length while the same number of Japanese characters produces noticeably more.
URL encoding solves a related problem with different rules. Certain characters carry structural meaning in a URL — ? opens the query string, & separates parameters, # starts a fragment — so any of them appearing inside a value must be replaced by a percent sign and their hexadecimal byte value. Skipping that step is the standard cause of links that work until someone’s search term contains an ampersand.
Which tool for which job
For measuring, the word counter is the obvious one, but the character limits it reports are the part worth knowing: about 60 characters for a page title, 155 for a meta description, 30 for a Google Ads headline, 160 for a single SMS unless one non-GSM character drops it to 70.
For reshaping, the case converter handles both prose conventions and programming ones, and the duplicate remover lets you define what "the same" means before it compares anything — which matters, since Alice, alice and "Alice " are three strings and one person.
For checking, the diff checker compares two versions of a document line by line, and the regex tester shows what a pattern actually matches rather than what you intended it to. For moving data between systems, the JSON formatter finds the malformed character, and the CSV converters run in both directions with the quoting rules handled properly in each.