Favorite places of your favorite city
Home
Add to preferred sources on Google

Garbled Text Fixer

Repair common text-encoding mistakes, also called mojibake. Paste text, review automatically selected repairs and keep your original intact.

Analysis selects all suggestions automatically. Review them and deselect any you do not want.

Paste or type text with broken accents or symbols.

After analysis, selected suggestions appear here. Deselect any you do not want.

Advanced settings

Windows-1252 is the default. ISO-8859-1 means literal bytes, not the browser label alias. Changing settings clears selections.

Paste text to begin.

Limit: 500,000 UTF-16 code units. Pasted text only; no file conversion.

Text repair runs in your browser. This tool does not save or upload drafts; shared site services may still make network requests.

How to fix garbled text

  1. Paste or type the text in Original text.
  2. Choose the byte interpretation and up to three rounds if needed.
  3. Review the automatically selected suggestions, deselect any unintended changes, then copy the output.

Features

  • Finds reversible UTF-8 encoding errors
  • Reviews individual suggestions before copying
  • Supports up to three repair rounds
  • Leaves unaffected spans of text untouched
  • Shows intermediate results for repeated corruption

Use cases

  • Repair broken accents in pasted text
  • Inspect a mixed clean and garbled excerpt
  • Undo double-encoded text while checking each round

Understanding encoding repairs

Mojibake happens when UTF-8 bytes are read as another encoding and then copied as Unicode. This tool reverses Windows-1252 or literal ISO-8859-1 interpretations where the bytes form a valid UTF-8 character. It does not automatically identify the original encoding.

Mixed clean and broken text is common. Only local byte-reversible spans become candidates; clean text, emoji and unrelated scripts remain in place. Even plausible clean text can be byte-reversible, so review and deselect unwanted suggestions.

Use two or three rounds only for repeated corruption. Intermediates and actual rounds are shown. Replacement characters (�), deleted bytes and missing glyphs may represent permanent loss. Other historical encodings, file uploads, CSV repair and AI rewriting are outside this tool.

Examples

Broken accent: café → café automatically when analysis completes. A clean café has no candidate in this example.

Repeated corruption: café → café in one round → café in two rounds. Paste a CSV excerpt as text; this does not repair the whole file.

Privacy and limits

Text repair runs in your browser. Drafts are not saved or uploaded by this tool; shared site services may still make network requests.

The limit is 500,000 UTF-16 code units. Larger text stays in the editor without analysis. This tool does not remove invisible characters, normalize Unicode or unescape HTML.

Questions and answers

No. A valid byte reversal is only a possibility. Lost or replaced bytes cannot be reconstructed reliably.

Windows-1252 uses its specified C1 character map. Literal ISO-8859-1 maps U+0000–U+00FF directly to byte values. Browser latin1 labels resolve to Windows-1252, so this tool implements ISO literally.

No. Paste text from the file. For spacing in copied PDF text, use PDF Text Cleaner. Fancy Text Converter handles decorative Unicode, and Text Size Calculator compares byte sizes.

JSON to YAML

Convert JSON to YAML locally while preserving number text and quoted strings; copy or download the complete result.

Open tool — JSON to YAML

YAML to JSON

Convert one YAML document locally to JSON with exact number text and bounded aliases, then copy or download the complete result.

Open tool — YAML to JSON

HTML to Markdown

Convert pasted or local HTML into Markdown, review conversion notes, and copy or download the result.

Open tool — HTML to Markdown

JavaScript Regex Tester

Test a JavaScript pattern locally and inspect matches, captures, and UTF-16 positions.

Open tool — JavaScript Regex Tester

Markdown to HTML

Convert a Markdown draft to an HTML fragment, inspect the source and inert preview, then copy or download it.

Open tool — Markdown to HTML

Text Sorter

Sort lines alphabetically by a chosen language or by Unicode code point, keeping duplicates, blank rows and complete line contents.

Open tool — Text Sorter

Remove Duplicate Lines

Keep the first copy of each exact text line, preserving order, significant spaces and blank rows, then copy or download the result.

Open tool — Remove Duplicate Lines

Text Diff Checker

Compare two drafts locally, with exact whole-line changes, visible whitespace rules and clear final-newline handling.

Open tool — Text Diff Checker

Case Converter

Convert text to uppercase, lowercase, capitalized words or sentence case with explicit letter rules.

Open tool — Case Converter

HTML Entity Encoder/Decoder

Encode or decode literal HTML references with explicit context, Unicode options and LF output, without parsing or rendering markup.

Open tool — HTML Entity Encoder/Decoder

Markdown Table Generator

Edit a small literal-text table, set alignment and copy GFM Markdown or import tab-separated text.

Open tool — Markdown Table Generator

Query String Parser & Builder

Edit ordered URL parameters, retain repeated names and copy a normalized query or HTTP(S) URL.

Open tool — Query String Parser & Builder

URL Encoder & Decoder

Convert a UTF-8 URL component or form value with explicit space and plus rules, then copy or download the result.

Open tool — URL Encoder & Decoder

Base64 Encoder & Decoder

Encode UTF-8 text as standard or URL-safe Base64, or decode either format with clear errors and complete text output.

Open tool — Base64 Encoder & Decoder

XML Formatter

Check namespace-aware XML 1.0, format or compact locally, and copy or download UTF-8 output.

Open tool — XML Formatter

JSON Formatter & Validator

Check JSON syntax, format or minify locally, and copy or download output while preserving original data tokens.

Open tool — JSON Formatter & Validator

SMS Character Counter & Segment Calculator

See how your message is encoded, where its segments end and what it may cost. Your text stays in your browser.

Open tool — SMS Character Counter & Segment Calculator

Social Media Character Counter

Check platform-specific limits and split posts without losing text.

Open tool — Social Media Character Counter

Character Counter

Count characters, words, sentences and paragraphs. Check word density, reading time and UTF-8 size, all in your browser.

Open tool — Character Counter

Text Size Calculator

Compare text encodings and payload sizes in your browser.

Open tool — Text Size Calculator

PDF Text Cleaner

Fix line breaks and spacing in text copied from a PDF. Preserve your original and review ambiguous hyphens before copying the cleaned text.

Open tool — PDF Text Cleaner

Fancy Text Converter

Convert supported fancy Unicode letters to normal text locally. Keep case, accents, emoji and your original text.

Open tool — Fancy Text Converter

Gmail Clipping Checker

Measure email HTML bytes in UTF-8, compare them with an advisory 102,000-byte Gmail reference, and inspect size contributors locally.

Open tool — Gmail Clipping Checker
View all tools in this category