ISO-8859-2 / Latin-2 Encoder

Show Central European Latin-2 byte values for text in hex

Ad placeholder (leaderboard)

ISO-8859-2, also called Latin-2, is the single-byte character set for Central and Eastern European languages written in the Latin alphabet. It keeps ASCII in the lower half and packs letters like ą, č, ő, ž, and ł into the upper half. This tool shows the exact Latin-2 byte for each character of your text.

How it works

The mapping is a fixed 256-entry table. Bytes 0x000x7F are identical to ASCII, so plain English text encodes the same way it would in any ASCII-compatible charset. Bytes 0xA00xFF are where Latin-2 differs: each holds a specific Central European letter or symbol.

To guarantee the table is exactly the official one, the tool builds it in your browser by decoding every byte 0x000xFF with the platform’s native ISO-8859-2 decoder, then inverts that map for encoding. Each input character is looked up; if it has a Latin-2 byte it is shown in hex, and if not it is flagged as unmapped.

Example and notes

  • The Polish pangram "Pchnąć w tę łódź jeża" encodes with ą as 0xB1, ł as 0xB3, ó as 0xF3, ź as 0xBF, and ż as 0xBF’s neighbour 0xBF region — each a single byte.
  • Latin-2 has no euro sign, no Cyrillic, and no CJK; those will appear as unmapped. For full coverage of any script, use UTF-8 instead.
  • The same upper-half byte means different things across the ISO-8859 family, so always pair the bytes with the charset name when storing or transmitting.
Ad placeholder (rectangle)