Text Encoding Converter
Convert text files between UTF-8, UTF-16 LE/BE, ASCII, Latin-1, Windows-1252. Add/strip BOM, batch files, and 10+ extras. 100% private.
About Text Encoding Converter
Convert text files between UTF-8, UTF-16 LE/BE, ASCII, Latin-1, Windows-1252. Add/strip BOM, batch files, and 10+ extras. 100% private. Everything runs locally in your browser — your data never leaves your device.
How to use
- Enter your input in the tool above.
- Adjust any options to your preference.
- Use the Copy or Download buttons to save the result.
- Everything happens locally — your data never leaves your browser.
FAQ
Which encodings are supported?
UTF-8 (with/without BOM), UTF-16 LE, UTF-16 BE, ASCII, Latin-1 (ISO-8859-1), and Windows-1252. The browser's TextEncoder handles UTF-8; UTF-16 uses DataView; ASCII and Latin-1 use single-byte mapping.
What extras does this tool have?
Extras: (1) 6 target encodings, (2) Add/strip/preserve BOM toggle, (3) Auto-detect source encoding, (4) Show size before/after, (5) Show byte diff for first 80 bytes, (6) Lossy vs lossless conversion warning, (7) Batch multiple files, (8) Download converted file, (9) Copy converted text, (10) Show conversion log, (11) Preserve line endings, (12) Strip invalid chars vs replace with '?', (13) Hex preview of output, (14) Generate charset declaration for HTML.
Related tools
7Z Extractor
Inspect and extract files from 7z archives. Detects the 7z signature (0x37 0x7A 0xBC 0xAF 0x27 0x1C), parses the SignatureHeader and StartHeader, lists files from the archive metadata, and extracts STORE-method files when possible. Honest about LZMA compression limitations. 100% client-side.
APK Extractor
Extract and inspect Android APK files in the browser — pure JavaScript APK (ZIP) parser. View AndroidManifest.xml (binary XML detection), list DEX files, resources, and assets, extract individual files, detect app info (package name, version) from manifest. 100% client-side.
ARJ Extractor
Inspect ARJ archives. Detects the ARJ magic (0x60 0xEA), parses header structures, lists file entries with sizes and CRCs, and extracts STORE-method files when possible. Honest about ARJ compression limitations. 100% client-side.