Text · Made a little simpler

Encoding Converter

Convert local files, hex bytes or pasted text among 42 encodings. Compare the decoded text and exported bytes, with explicit control over substitutions.

Free to useNo account neededProcessed on your device
Your workspaceProcessed on your device

Pasted text arrives as Unicode. Use a file or hex to choose an original byte encoding.

Add this tool to your website

Paste this code into your page to add the tool and a visible ToolMellow credit link.

HTML embed code
Preview embed

Encoding Converter: how to use it

  1. Open the original file or enter exact hexadecimal bytes. Select the source encoding if known. Pasted text is already Unicode.
  2. Choose one of 42 target encodings. Add an output byte-order mark for Unicode if the destination expects one.
  3. Convert and compare the decoded source and output. Download the encoded file or use those output bytes as new input.

Limits and notes

Files up to 2 MiB, hexadecimal input up to 256 KiB of decoded bytes, pasted text up to 300,000 UTF-16 units, and output up to 8 MiB. The mapped legacy code pages use versioned tables. Conversion rejects changes in the decoded result by default.

How your privacy works →

Encoding Converter: common questions

Which encoding does Auto select?

It uses a Unicode byte-order mark or strict UTF-8 when supported by the bytes. A likely unmarked byte pattern or legacy report prompts you to choose an encoding.

How does pasted text differ from a file?

The pasted characters were already decoded by the browser or another application. A file or hex input supplies the original bytes and lets you select the source encoding.

Can I convert Windows-1252 to literal ISO-8859-1?

Yes. The converter distinguishes the two code pages. A euro sign in Windows-1252 cannot be represented in literal ISO-8859-1, so the conversion flags a change before export.

What does Allow target substitutions do?

It permits the selected target codec to substitute characters it cannot preserve. The result shows the first difference and lets you inspect the decoded output before saving.

When can I add a byte-order mark?

Choose UTF-8, UTF-16LE, UTF-16BE, UTF-32LE or UTF-32BE as the target and enable the byte-order mark option. Check whether your receiving application expects one.

Guides