Skip to content
migration.tools
Any encoding to UTF-8

File encoding converter (to UTF-8)

Garbled characters after an import — “Café” for “Café”, question marks where accents should be — mean the file wasn't in the encoding the new system expected. Convert legacy exports to UTF-8 before you load them.

Options

Text files

UTF-8

Converted files appear here.

Processed on this device. Nothing you paste or drop is uploaded.

How to use it

  1. 1Drop your Any encoding file onto the input panel — or several at once.
  2. 2Pick the options you need.
  3. 3Download the UTF-8 result. Batches come as one ZIP.

How detection works

A byte-order mark identifies UTF-8 and UTF-16 with certainty. Without one, the file is tested as UTF-8; if every byte sequence is valid, it is almost certainly UTF-8 already. If not, and it isn't UTF-16, Windows-1252 is assumed — by far the most common legacy encoding for Western European and American exports.

Detection can't tell single-byte encodings apart: the same bytes are valid Windows-1250, Windows-1251 and Windows-1252, and only a human can see which one reads correctly. If the preview looks wrong, choose the source encoding yourself.

Questions

What does “ANSI” mean in Notepad or Excel?

It means the system's legacy code page — Windows-1252 on Western European and US machines, Windows-1251 for Cyrillic, and so on.

My file is already UTF-8 but looks wrong. Why?

It was probably decoded as Windows-1252 and saved again as UTF-8 at some point (“double encoding”). Converting again can't repair that; go back to the original export if you can.

Guides that use this tool