Text Formatting Tools: Which One Do You Need?
TextToolbox's Formatting category is the biggest and most varied one on the site — 12 tools that don't all solve the same kind of problem. Rather than one long alphabetical list, here they're grouped into three natural clusters: reshaping how text looks, cleaning up lists and lines, and converting between text formats and encodings.
Quick picker
Case & text transformation
- Need consistent capitalization — UPPER, Title Case, camelCase, and more? Case Converter.
- Turning a title or heading into a URL? Slug Generator — lowercase, hyphenated, accent-free.
- Need text reversed — characters, word order, or line order? Reverse Text.
Line & list cleanup
- Pasted text with stray line breaks in the wrong places? Remove Line Breaks flattens it into clean paragraphs or one line.
- List with repeated entries? Duplicate Line Remover dedupes it, with optional sorting.
- Need a list sorted A→Z, by length, or shuffled? Alphabetize Lines.
- Same word or phrase needs replacing everywhere it appears? Find and Replace.
- List separated the wrong way — commas instead of lines, or vice versa? List Converter switches between comma, semicolon, and newline separation.
Format & encoding conversion
- Got JSON that needs validating or pretty-printing? JSON Formatter.
- Need to encode or decode Base64? Base64 Encoder/Decoder.
- Have Markdown that needs to become clean plain text? Markdown to Plain Text.
- Need text as binary or hexadecimal, or back again? Text to Binary Converter.
Worked scenario: turning a messy page-title export into a clean redirect map
- Your CMS export lands as one long paste with stray line breaks and a few duplicate titles — run it through Remove Line Breaks first to get one clean title per line, then Duplicate Line Remover to drop the repeats.
- Run the cleaned list through Alphabetize Lines so it's easy to scan for anything that still looks wrong before you commit to it.
- Turn each title into a URL-safe target with the Slug Generator — this becomes the actual left- or right-hand side of every redirect rule.
- If the redirect map needs to ship as a comma-separated list for a spreadsheet or script instead of one-per-line, switch formats with the List Converter.
- If the final map gets delivered as a JSON config file, validate it in the JSON Formatter before it goes anywhere near production — a single misplaced comma is exactly what it's built to catch.
All formatting tools
- Case Converter Switch text between UPPER, lower, Title, Sentence, camelCase, snake_case, and kebab-case.
- Slug Generator Turn any title into a clean, URL-safe slug — lowercase, hyphenated, accent-free.
- Reverse Text Reverse characters, word order, or line order in one click.
- Duplicate Line Remover Paste a list, get it back deduplicated — with optional sorting and empty-line cleanup.
- Remove Line Breaks Flatten pasted text into clean paragraphs or a single line — without losing paragraph gaps unless you want to.
- Find and Replace Find every occurrence in your text and replace them all at once — case-sensitive or not.
- Alphabetize Lines Sort any list A→Z, Z→A, by length, or shuffled — accent-aware and instant.
- List Converter Convert between comma, semicolon, or newline separated lists in either direction.
- JSON Formatter Validate, pretty-print, or minify JSON instantly with clear error messages when it breaks.
- Base64 Encoder/Decoder Encode text to Base64 or decode it back — handles Unicode and emoji correctly.
- Markdown to Plain Text Strip Markdown syntax and get clean, readable plain text.
- Text to Binary Converter Convert text to binary or hexadecimal and back, correctly handling Unicode characters.
Frequently asked questions
What's the difference between Find and Replace and the Case Converter?
Find and Replace does arbitrary text substitution — swap any string for any other string, anywhere it appears, case-sensitive or not. The Case Converter only changes letter casing (UPPER, lower, Title, Sentence, camelCase, snake_case, kebab-case) — it can't change what the text says, only how the letters are cased. If you need to change actual words, use Find and Replace; if you need the same words in a different case convention, use the Case Converter.
Why would I use List Converter instead of just running Find and Replace to swap commas for line breaks?
For a short list it barely matters, but List Converter is built specifically for this conversion — it handles trimming stray spaces around each item and empty entries automatically, in either direction, without you having to think about edge cases like a trailing comma or a blank line at the end. Find and Replace is the general tool for swapping any string for any other string; List Converter is the specialized one for exactly this list-formatting problem.
What's the difference between the Text to Binary Converter and Base64 Encoder/Decoder — aren't they both just encoding text?
They solve different problems. Text to Binary Converter shows each character's raw binary or hexadecimal representation — useful for learning how computers store text, or for a networking or CS context. Base64 Encoder/Decoder does something more practical day to day: it re-encodes text (or any data) into a compact, safe alphabet so it can travel through systems — emails, URLs, JSON — that don't handle arbitrary bytes cleanly. If you're troubleshooting an API payload or an embedded image string, you want Base64, not raw binary.
Will the JSON Formatter fix invalid JSON for me automatically?
No — it validates and points to exactly where the JSON breaks, down to the line and character position, and it pretty-prints or minifies JSON that's already valid, but it won't guess what you meant to write. Think of it as a precise error locator, not an auto-repair tool; you still fix the missing comma or unclosed bracket yourself once you know exactly where it is.