Use the browser-based conversion workflow for text files up to 10 MB that use a supported source encoding. The converter's pricing and the requirement for an account are not specified. The UTF-8 Converter reads the local file, previews the decoded characters and creates a downloadable, BOM-free UTF-8 file without uploading the source bytes.
This is a file-based workflow rather than a text-to-byte viewer. You select the encoding that actually produced the file, convert it, inspect the non-ASCII content and download the result. The new file should then be tested in the destination application before you replace the original.

Supported source modes
The converter accepts four source modes. Choose the one that matches how the file was created; choosing UTF-8 as the destination does not make every input readable as UTF-8.
| Source mode | When to select it | Conversion behavior |
|---|---|---|
| UTF-8 | The producing application or reliable metadata identifies the file as UTF-8. | Uses strict validation. Malformed bytes produce a clear failure instead of replacement characters, and a leading UTF-8 BOM is consumed. |
| UTF-16LE | The producer stores each code unit with the low byte first. | Decodes the selected little-endian order. A matching BOM is recognized and removed, and valid surrogate pairs become single characters. |
| UTF-16BE | The producer stores each code unit with the high byte first. | Decodes the selected big-endian order. A matching BOM is recognized and removed; reversing the byte order can make the text nonsensical. |
| Windows-1252 | The source is known to use the common Western legacy code page. | Applies the standard Windows-1252 character map, including printable punctuation and symbols in the 0x80-0x9F range. |
The selected bytes are decoded using the browser’s standards-defined encoding behavior and fatal error handling, while the output is encoded as UTF-8. The WHATWG Encoding Standard defines browser decoding behavior, and RFC 3629 defines the UTF-8 byte sequences used for the result.
Conversion decodes characters and encodes them again, so the output is not expected to match the source byte-for-byte. A Windows-1252 punctuation byte may occupy one byte in the source and several bytes in UTF-8, while still representing the correct character.
Choose the source from evidence, not appearance
Use the producing application’s export settings, a file specification or reliable metadata to establish the source encoding. Do not choose from appearance alone. Legacy byte sequences can be valid under more than one encoding while producing different characters, so an automatic guess may look plausible and still damage names, punctuation or symbols. The converter deliberately requires an explicit selection so the transformation remains auditable.
- UTF-8: Select it when the producer states that the file is UTF-8. A leading BOM is consumed by the decoder, but the downloaded result receives no BOM. Malformed UTF-8 causes a clear failure rather than silently changed characters.
- UTF-16LE or UTF-16BE: Establish the byte order from the producer or reliable metadata. Little-endian stores the low byte first, while big-endian stores the high byte first. A matching BOM is recognized and removed. Valid high and low surrogates are combined, but malformed or unpaired sequences are rejected.
- Windows-1252: Select it only when the source is identified as Windows-1252. It is a common Western legacy code page often mislabeled as ISO-8859-1. Its punctuation and symbols are decoded into characters before the file is encoded as UTF-8.
If the source is unknown, pause and recover that fact from the producer or obtain a clean export. Repeated trials with different encodings are not a substitute for source information because a plausible preview does not prove that names, punctuation or currency symbols are correct.
Convert the file and verify the result
- Confirm the source encoding. Record the encoding from the application that created or exported the file, along with any relevant byte-order information. Treat an unknown encoding as an unresolved issue rather than selecting one by appearance.
- Choose the local text file. Select a text file no larger than 10 MB. The converter checks the size before reading it and then reads the bytes in the browser, so the source file is not uploaded.
- Convert and inspect the preview. Run the conversion with the actual source selected, then read the preview before downloading. Check representative names, punctuation, currency symbols and non-ASCII lines. A validation error means the input cannot be decoded safely under the selected mode; correct the source choice or obtain a valid export rather than treating the failed attempt as a converted file.
- Download the generated UTF-8 file. The filename adds -utf8, the file uses a plain-text UTF-8 media type and no UTF-8 BOM is added. If you change the file or source encoding, the visible result is canceled and the previous download URL is invalidated, so download again after making a change.
- Test the download in its destination. Open or import the converted file in the application that will use it and compare representative content. Keep the original until the complete workflow has been verified.
Use the preview and byte counts as checks
The preview shows decoded characters rather than a byte-for-byte view of the source. It can expose an incorrect byte order or Windows-1252 interpretation quickly, but it may not display every control character or Unicode normalization difference. This makes the preview a useful first check, not a substitute for testing the finished file.
Source and output byte counts often differ because each encoding uses a different number of bytes for the same characters. Expansion or contraction is expected and does not by itself indicate data loss. Judge correctness by the displayed characters and the destination application's behavior rather than by file size alone.
The downloaded result is BOM-free. A recognized source BOM is consumed, and no new one is added. If the destination application has a separate requirement for a UTF-8 BOM, this downloaded artifact does not satisfy that requirement.
If the preview looks wrong, select the correct source and convert again rather than manually patching the output. The intended operation is a clean decode-and-reencode workflow, not an attempt to reconstruct arbitrary visible damage.
What the conversion cannot repair
Understanding the tool’s boundaries prevents a false sense of success:
- It does not detect or guess the source encoding; you must make the selection.
- It does not heuristically repair mojibake or text that was already decoded incorrectly and saved again.
- It cannot reliably repair a file that contains mixed encodings. One decoder cannot turn inconsistent byte sequences into a trustworthy result.
- It does not normalize Unicode, translate languages or modify line endings beyond what follows from decoding and UTF-8 encoding.
Malformed UTF-8, including invalid continuation bytes or truncated sequences, causes a clear failure rather than replacement characters. Malformed or unpaired UTF-16 sequences are also rejected under fatal decoding. These failures are preferable to downloading a file that contains silent character damage.
Local processing and the 10 MB boundary
All source-byte processing happens in the browser. The file is read locally, the decoded text is previewed and a new downloadable file is created without sending the source bytes to a conversion server. Local processing does not remove the need for careful source selection, validation and a retained backup.
Files are limited to 10 MB because the browser File and Encoding interfaces operate on an in-memory buffer in this tool. The size is checked before reading to avoid loading an unexpectedly large file into memory.
For database dumps or multi-gigabyte logs, use a trusted streaming conversion utility with explicit source and destination encodings. That is the appropriate workflow for those larger jobs; an in-browser file converter cannot complete them within its size boundary.
Keep the original file until the downloaded UTF-8 version has passed its destination test. If the file came from mixed sources or has an unknown encoding history, obtain a clean source export rather than assuming that a successful preview proves the conversion is correct.
For a deeper look, see UTF8 Decode Large Text: Limits and Verified Workflow.
For a deeper look, see Are the Salt and IV Visible in AES-256-GCM Text?.