Text Tools
Count words, change case, clean up and format text and code.
Word CounterFree word counter: count words, characters, sentences and paragraphs as you type, with reading and speaking time. Your text stays in your browser.JSON Formatter & MinifierJSON formatter and validator: beautify JSON with 2, 4 or 8 spaces, minify it to one line, see where invalid JSON fails, then copy or download.Text to LowercaseConvert text to lowercase online: turn capital letters into small letters as you type, with accented, Greek and Cyrillic letters handled.Text to UppercaseConvert text to uppercase online: turn any text into ALL CAPS as you type, including accented letters, Greek and German ß, then copy it in one click.Text to Title CaseTitle case converter: capitalise the first letter of every word in headings, names or titles as you type, then copy the result. Runs in your browser.Reverse TextReverse text online and write any word, sentence or paragraph backwards, character by character, for palindromes, puzzles and backward captions.Remove Extra SpacesRemove extra spaces from text online: collapse double spaces, tabs, non-breaking spaces and line breaks into single spaces and trim the ends.Remove Line BreaksRemove line breaks from text online and join every line into a single line, for text copied from PDFs, emails and chats or for one-line fields.Copy to Clipboard HelperPaste text to strip its formatting, check the word and character count, then copy clean plain text to your clipboard with one click.HTML BeautifierBeautify HTML online: put block elements on their own lines and indent minified or one-line markup by its tag nesting. Free, in your browser.HTML MinifierMinify HTML online: remove comments and collapse extra spaces and line breaks, keeping <pre>, <textarea> and <script> content intact. In your browser.CSS FormatterFree CSS formatter: paste minified CSS and get one declaration per line with each rule in its own block, ready to copy. Works in your browser.CSS MinifierMinify CSS online: strip comments, line breaks and extra spaces to compress a stylesheet into one line. Free, instant and done in your browser.JavaScript BeautifierBeautify JavaScript online: lay out minified JS with one statement per line and blocks indented by nesting. Free and instant in your browser.JavaScript MinifierMinify JavaScript online: strip comments and collapse whitespace to shrink JS code into one line, then copy it. Runs in your browser.XML FormatterFormat XML online: beautify with two-space indentation or minify by removing whitespace between tags, with unclosed tags flagged, then copy or download it.YAML to JSONConvert YAML to JSON online, including nested docker-compose and Kubernetes files, with numbers and booleans typed and errors shown by line.Duplicate Line RemoverRemove duplicate lines from any list and keep the original order. Paste emails, keywords or URLs and copy the unique lines. Free, in your browser.Sort LinesSort lines alphabetically online: put a list of names, words or lines into A to Z order (capitals first), with duplicates kept side by side.Reverse LinesReverse the order of lines online: flip a list, log or timeline upside down so the last line comes first, with each line's text unchanged.Add Line NumbersAdd line numbers to text or code online: every line, blank ones included, gets 1., 2., 3. in front, ready to copy in one click.Search and ReplaceFind and replace text online: swap every occurrence of a word or phrase at once, see how many were replaced, and copy the result.Regex TesterTest JavaScript regular expressions online: enter a pattern and flags, paste text, and see each match with its position, the count and any syntax error.Character EncodingEncode text to Base64, URL (percent) encoding and UTF-8 hex bytes at once, then copy all three results, worked out in your browser.Character CounterCount characters, words and bytes as you type, with SMS parts and limits for X, LinkedIn and Instagram.Fancy Text GeneratorTurn text into bold, italic, cursive, gothic, bubble, small caps and upside-down letters you can copy into Instagram, TikTok and WhatsApp.Reading & Speaking Time CalculatorEstimate how long a text takes to read silently or aloud, and how many words fit in a talk.
Picking a text tool
Text tools for writers, students and developers: counting words and characters, changing case, cleaning up text pasted from a PDF or an email, and formatting code so a person can read it. The page does the work as you type, and nothing you paste is sent anywhere.
Text copied out of a PDF usually arrives with a line break every few words. Remove Line Breaks joins the paragraphs back up, and Remove Extra Spaces deals with the double spaces copying tends to leave behind.
Where to start
- Count and checkWord CounterCharacter CounterReading & Speaking Time Calculator
- Clean up pasted textRemove Line BreaksRemove Extra SpacesDuplicate Line Remover
- Format code and dataJSON Formatter & MinifierHTML BeautifierCSS FormatterXML Formatter
- Find and replaceSearch and ReplaceRegex Tester