Free Online Text Tools
50 simple tools to count, clean, convert, encode and format text. Everything runs in your browser, with no sign-up and nothing to install.
Text Cleaning
Tidy up messy text copied from PDFs, emails, spreadsheets and web pages.
Remove Line Breaks
Join broken lines from PDFs and emails into clean, flowing text.
Remove Extra Spaces
Collapse double spaces and tabs and trim every line.
Remove Duplicate Lines
Delete repeated lines from lists while keeping the original order.
Remove Special Characters
Strip symbols and punctuation, keeping only letters, numbers and spaces.
Remove Numbers
Delete every digit from your text and tidy the leftover spaces.
Remove Empty Lines
Delete blank lines to make lists and code compact.
Remove HTML Tags
Convert HTML into clean, readable plain text.
Trim Text
Remove leading and trailing whitespace from every line.
Remove Non-ASCII Characters
Keep only standard ASCII characters, with accent conversion.
Remove Punctuation
Strip full stops, commas, quotes and other punctuation marks.
Counters & Analysis
Measure the length, structure and keyword use of your writing.
Word Counter
Count words, characters, sentences and reading time.
Character Counter
Count characters with and without spaces, plus bytes.
Sentence Counter
Count sentences and see average and longest sentence length.
Paragraph Counter
Count paragraphs and see the average paragraph length.
Count Duplicate Words
Find repeated words and how often each one appears.
Keyword Density Checker
See your most-used words and their percentage of the text.
Case Conversion
Switch text between uppercase, lowercase, title case and more.
Data Extraction
Pull email addresses, links and numbers out of large blocks of text.
Text Manipulation
Sort, reverse, shuffle, repeat and rewrite lines and words.
Reverse Text
Flip text backwards, character by character.
Reverse Word Order
Reverse the order of words on each line.
Sort Lines A–Z
Put any list in alphabetical order, with natural number sorting.
Sort Lines Z–A
Put any list in reverse alphabetical order.
Duplicate Lines Generator
Repeat every line of your text a set number of times.
Find and Replace
Replace words or patterns, with whole-word and regex options.
Text Repeater
Repeat a word or passage many times with your chosen separator.
Random String Generator
Create secure random strings of any length.
Shuffle Lines
Randomly reorder the lines of any list.
Encoding & Decoding
Convert text to and from URL encoding, Base64, HTML entities, binary and character codes.
URL Encoder
Percent-encode text for safe use in links and query strings.
URL Decoder
Turn %20-style encoded URLs back into readable text.
Base64 Encoder
Convert text to Base64, with full Unicode and URL-safe options.
Base64 Decoder
Convert Base64 back into readable text, including URL-safe Base64.
HTML Encoder
Escape <, >, & and quotes so code displays safely on web pages.
HTML Decoder
Convert HTML entities like & and < back into characters.
Text to Binary Converter
Convert text into 8-bit binary code.
Binary to Text Converter
Translate 8-bit binary code back into readable text.
ROT13 Encoder and Decoder
Shift letters by 13 places to hide spoilers and puzzle answers.
Text to ASCII Code Converter
Convert every character into its ASCII / Unicode number.
ASCII Code to Text Converter
Turn ASCII and Unicode code numbers back into characters.
Developer & Formatting
Format JSON, build URL slugs, number lines and convert lists.
URL Slug Generator
Turn titles into clean, SEO-friendly URL slugs.
JSON Formatter
Beautify and validate JSON with clear error messages.
JSON Minifier
Remove whitespace from JSON to make it as small as possible.
Add Line Numbers
Number every line, with a custom start and separator.
List to Comma Separated
Turn a list with one item per line into comma separated text.
Comma Separated to List
Split comma separated values into one item per line.
Text Wrapper
Insert line breaks so no line is longer than a set width.
No tools match your search. Try a shorter word such as “count” or “json”.
Why people use TextForge
Private by design
Your text is processed on your own device. We never upload, store or read what you paste into a tool.
Fast and free
Every tool opens instantly and works without an account, a download or a usage limit.
Clear results
Each tool explains what it does, shows a worked example and lets you copy or download the result.
Works everywhere
Use TextForge on a phone, tablet or computer, in light or dark mode.
Guides and explainers
Base64 Encoding Explained: What It Is and When to Use It
How Base64 turns bytes into safe text, why the output is longer, and the common mistake of treating it as encryption.
URL Encoding Explained: Percent-Encoding Made Simple
Which characters are allowed in a URL, why a space becomes %20, and how to avoid double-encoding bugs.
Keyword Density: What It Means for SEO Today
How keyword density is calculated, why there is no perfect percentage, and how to use frequency data to write better pages.
JSON Formatting and Validation: A Practical Guide
The rules of valid JSON, the errors that break it most often, and when to format or minify.
Text Case Styles: Title Case, Sentence Case, camelCase and More
A reference to the common capitalisation styles in writing and programming, and when to use each one.
How to Clean Messy Text: A Step-by-Step Workflow
A repeatable order of operations for tidying text copied from PDFs, spreadsheets, emails and web pages.
How Long Should It Be? A Guide to Word and Character Counts
Typical length limits and targets for essays, web pages, meta tags, social posts and speeches, and how counting works.