Text Encoding Fixer
Fix garbled text such as Café caused by reading UTF-8 as Latin-1, and convert text to and from UTF-8, UTF-16 and Latin-1 bytes. Private.
Text or bytes
Stays in your browserResult
Shortcuts: Ctrl+Enter run · Ctrl+Shift+C copy result · / search (use ⌘ on Mac)
Next steps
Done here? Use the Send to… menu on the result to carry it on to Unicode Character Inspector or Text to Binary / ASCII.
Free Online Text Encoding Fixer
When accents turn into strange characters, the text was read in the wrong encoding. Paste it here to repair it, or see and convert the bytes of any text. It gives developers a quick browser-based way to solve a focused text encoding fixer task before moving the result into a project.
How to use Text Encoding Fixer
Paste the text in the box on the left, then press Run. Choose "Repair garbled text" and paste the broken text. To see bytes, choose "Text to bytes" and an encoding; "Bytes to text" reads hex bytes back.
Common mistakes
- Pasting text that was already repaired once: it is left as it is.
- Choosing Latin-1 for characters outside Western European languages: they are written as ? because Latin-1 has no place for them.