UnQTools
File Runs in your browser

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.

100% Private Works Offline Instant

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

  1. Enter your input in the tool above.
  2. Adjust any options to your preference.
  3. Use the Copy or Download buttons to save the result.
  4. 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.

Search tools and actions

Search across all 645 tools, categories, and quick actions.