Text File Encoding Converter
Convert a local text file between UTF-8, UTF-8 with BOM, UTF-16 little-endian, UTF-16 big-endian, Windows-1252, and ISO-8859-1 without sending its contents anywhere.
Without a BOM, source-encoding detection is not reliable. Choose the source encoding manually. Malformed sequences are replaced deterministically.
Choose a text file to convert locally. Contents are never uploaded.
2 MB
How to use it
- Select a supported text file within the displayed limit
- Choose the source encoding when the file has no byte-order mark
- Choose a target encoding and convert the bytes locally
- Review the plain-text preview and metadata, then download the complete converted file
Byte-order marks are detected before decoding, while files without a BOM use the source encoding you select because reliable automatic guessing is not possible. The result shows source and target encodings, original and converted sizes, BOM status, and character count. A bounded plain-text preview preserves line breaks and never interprets HTML. Malformed byte sequences use deterministic replacement behavior, and likely binary input is rejected. The complete converted file remains downloadable even when the preview is shortened, and every temporary object URL is revoked after use.
FAQ
No. UTF byte-order marks can be detected, but a file without one requires a manual source choice.
Decoding uses deterministic replacement characters instead of exposing an exception or stack trace.
No. The tool is limited to text and rejects input that appears to contain unsupported binary control data.