Unicode to UTF-32 Converter
Convert Unicode text to UTF-32 hex code units. Supports big-endian and little-endian byte order with optional BOM.
Paste any Unicode text and get its UTF-32 hex code units back — four bytes per character, whether it's an A, a 世, or an emoji. Pick big-endian or little-endian, toggle the BOM, and copy the output as-is. And everything runs in your browser. Nothing gets uploaded.
How to Use
Enter Unicode text in the left panel. You can type, paste, or use the Sample button.
Choose byte order — Big-Endian (most significant byte first) or Little-Endian (least significant byte first).
Toggle options — add a BOM (Byte Order Mark), 0x prefix, or space separation between code units.
Copy or download the UTF-32 hex output.
Frequently Asked Questions
What is UTF-32?
UTF-32 is a fixed-width Unicode encoding that uses exactly 4 bytes (32 bits) per code point. Each Unicode character is represented as a single 32-bit integer, making random access fast but using more memory than variable-width encodings like UTF-8 or UTF-16.
What is the difference between big-endian and little-endian?
Big-endian (BE) stores the most significant byte first, so U+0041 (A) becomes 00 00 00 41. Little-endian (LE) stores the least significant byte first, so the same character becomes 41 00 00 00. The byte order mark (BOM) at the start of a file tells readers which order is used.
What is the BOM in UTF-32?
The BOM (Byte Order Mark) is the code point U+FEFF placed at the beginning of a text stream. In UTF-32 BE it appears as 00 00 FE FF, and in UTF-32 LE as FF FE 00 00. It helps software detect the byte order of the encoding automatically.
When should I use UTF-32 over UTF-8?
UTF-32 is useful when you need constant-time access to individual code points, such as in internal processing of text editors or certain algorithms. For storage and transmission, UTF-8 is generally preferred because it is more compact for ASCII-heavy text and is the standard encoding for the web.
Is my data safe when using this tool?
Yes. All conversion happens entirely in your browser using JavaScript. No data is sent to any server. Your input and output never leave your device.