We use cookies.This website uses essential cookies to operate core features. With your consent, we also use analytics cookies to understand traffic and improve the service. For more details, see our .
Was this tool helpful to use?
Your feedback helps us make it better
A GB2312 encoding lookup tool â enter a Chinese character to get its area code, GB national-standard code, and internal code.
Enter multiple characters to see their GB2312 encodings sequentially.
Please enter Chinese or GB2312 characters to search.
Overview
Understand what the tool solves, how it works, and the boundaries of its data.
This lookup connects a Chinese character with several identifiers: its decimal area-position code, the corresponding national-standard code bytes, the internal two-byte form, its Unicode code point, and a broad zone label. For example, ĺ is shown with area-position 1601, national-standard hex 3021, internal hex B0A1, and Unicode U+554A. These labels belong to different numbering systems and should not be treated as interchangeable strings.
GB/T 2312 organizes characters by area and position. In the code display, the two decimal digits for the area and two for the position form a four-digit area-position value. The corresponding national-standard bytes are formed by adding hexadecimal 20 to each decimal componentâs byte value; the internal form adds hexadecimal 80 to each byte of that national-standard pair.
national high byte = area + 0x20
national low byte = position + 0x20
internal byte pair = national byte pair + 0x80 per byte
This is a character/code lookup, not a general text-file transcoder. Its decoding compatibility follows the browserâs GBK decoder for the relevant two-byte entries; web standards associate the legacy gb2312 label with GBK decoding. Do not assume every operating systemâs historical encoding label has identical mappings.
Results label areas 1â9 as symbols, 16â55 as level-one Hanzi, and 56â87 as level-two Hanzi. Areas outside those groups may be unassigned or unsupported in this lookup. The zone is descriptive of the table layout and does not indicate a characterâs meaning or language importance.
| Character | Area-position | National-standard hex | Internal hex | Unicode |
|---|---|---|---|---|
| ĺ | 1601 | 3021 | B0A1 | U+554A |
| ä¸ | 5448 | 5650 | D6D0 | U+4E2D |
For ä¸, area 54 and position 48 become hex bytes 36 and 30; adding 20 gives 5650, and adding 80 to each byte gives D6D0.
Guide
Follow the workflow and verify inputs and outputs with practical examples.
Choose character mode to look up one or more characters. Choose code mode to decode a list of area-position or hexadecimal entries.
Character mode accepts pasted text and keeps the first occurrence of each character. Code mode accepts four decimal digits for area-position values or four hexadecimal digits for a two-byte code; separate multiple entries with spaces or commas.
Each matched row shows the character, area-position, national-standard hex, internal hex, Unicode code point, and zone. Unrecognized or unsupported entries do not produce a row.
Use the copy control next to a character when you need that character again. Keep the column name attached when sharing codes, because the same digits mean different things under different conventions.
Use cases
See how the tool fits into real work and everyday tasks.
A developer examining an older Chinese text record can paste a known character and compare the lookupâs byte-oriented fields with documentation for the system that produced the record.
A student can trace how an example such as ä¸ maps from area and position to the two hexadecimal forms, then compare the characterâs Unicode code point as a separate identifier.
A support worker with a small list of compatible two-byte codes can enter them in code mode and inspect the returned characters and zone labels. This is for lookup, not conversion of an entire file.
Q&A
Find concise answers to common questions and confusing cases.
No. It looks up characters and selected code entries one row at a time. It does not accept a document or convert arbitrary text between file encodings.
Web encoding standards map the legacy gb2312 label to GBK decoding behavior. This page uses the browser decoder for the lookup, so a result should be understood in that compatibility context rather than as a guarantee about every historical GB2312 implementation.
The character may not be in the supported table, may not map through the browserâs decoder, or may have been entered in code mode with an unsupported value. Check the mode and make sure a code has four digits in the expected decimal or hexadecimal form.
No. Unicode identifies the character with a code point such as U+4E2D. Area-position and byte values are identifiers in a legacy coding scheme; use the labeled columns to tell them apart.
Notes
Review scope, result limitations, and important precautions before use.
A character lookup does not guarantee that a particular legacy program, font, or file uses the same mapping.
gb2312 label with GBK; current standard checked 2026-09-28.Related
Discover related tools, collections, and available API capabilities.