EditSafely

Convert ANSI to UTF8

Convert ANSI (Windows-1252) encoding to UTF8 encoding. Runs entirely in your browser, so your data never leaves your device.

0 chars · 0 lines

Output

The result appears here as you type.

How to use Convert ANSI to UTF8

  1. 1. Paste the ANSI byte values. Enter the Windows-1252 (ANSI) byte values as hex, such as 80 for the euro sign, into the input pane. These are the raw bytes a Windows text editor or old export tool wrote.
  2. 2. Let the decoder map each byte. Every byte is looked up against the Windows-1252 table, which reassigns the 0x80 to 0x9F range to curly quotes, dashes and other symbols that plain Latin-1 leaves as control codes.
  3. 3. Copy the resulting UTF8 text. The decoded characters appear as normal UTF8 text on the right. Copy them into your editor or database once the mangled bytes have been turned back into readable symbols.

When to use Convert ANSI to UTF8

Convert ANSI to UTF8 exists for files that a Windows application saved in the Windows-1252 codepage instead of UTF8. Opening such a file with the wrong encoding turns curly quotes, em dashes and the euro sign into garbled question marks or boxes. This tool decodes the exact bytes so you can see and copy the intended characters.

  • Recovering text from an old CSV export. A CSV exported years ago from an Access database or Excel on Windows stores smart quotes and euro signs as Windows-1252 bytes. Pasting those byte values here recovers the original punctuation before you re-import the file.
  • Fixing mojibake from an email attachment. An email client shows a Word document's curly apostrophes as strange symbols because it assumed UTF8 instead of ANSI. Decoding the hex bytes reveals the actual characters the author typed.
  • Migrating a legacy Windows application's data. A desktop app from the 2000s stored user names in the system codepage. Converting each stored byte sequence to UTF8 here lets you build a clean migration script for a modern database.

Examples

Decode

Input

80

Output

About the Convert ANSI to UTF8 tool

Convert ANSI to UTF8 runs as plain JavaScript in your browser tab, with no server behind it. Convert ANSI (Windows-1252) encoding to UTF8 encoding. Whatever you put in stays on your device from start to finish.

The tool is part of EditSafely's UTF-8 Tools section, 69 single-purpose utilities built around the same idea: open the page, get the result, keep your data to yourself.

There is nothing to configure. Provide the input and the result appears on its own. A worked example further down the page shows exactly what the tool produces for a real input.

That local-first design has practical benefits beyond privacy. The tool keeps working on a flaky connection once the page has loaded, results are instant because nothing round-trips to a server, and it is safe to use with confidential material.

Frequently asked questions

Does Convert ANSI to UTF8 cost anything?

Yes, it is completely free. All 2,658 tools on EditSafely work without an account, a subscription or usage limits.

Is it safe to paste sensitive or confidential data?

No data leaves your device. The whole tool is JavaScript that runs inside your browser tab, so there is no upload, no server-side processing and no log of what you did. If you disconnect from the internet after the page loads, it keeps working.

How much text can I process at once?

There is no fixed limit. Because the work happens on your own device rather than on a shared server, the practical ceiling is your machine's memory, which comfortably handles inputs far larger than typical online tools allow.

Do I need to sign up or install anything?

Nothing to install and no account needed. Open the page in any up-to-date browser, including on a phone or tablet, and the tool is ready.

How do I use the result?

The output panel has a one-click copy button, and you can keep refining the input while you work; the result updates in place as you type.