Convert Unicode to UTF-32
Print the UTF-32 code point of every character in the text.
What this page computes
Paste text and the page prints one line per character with its Unicode code point as U+ followed by eight hex digits, then the code-point and byte totals. UTF-32 uses four bytes per character, so the byte total is four times the count.
Where it stops
Characters are iterated by code point, so an emoji outside the basic plane prints one code point rather than two surrogate halves. The page encodes only; it does not decode UTF-32 input, does not normalise, and refuses an empty box because there is nothing to encode.
Why the answer repeats
The iteration and hex formatting run in this tab, so the same text always prints the same code points and nothing is uploaded.
One line per Unicode character with its code point as eight hex digits, plus the code-point and UTF-32 byte totals. Iteration is by code point, so an emoji is one entry rather than two surrogates; empty text is refused.
How to use it
Paste the text and press Run. The last line gives the code-point and byte totals.
The arithmetic
Array.from iterates by code point, and codePointAt(0) reads the full value, so a supplementary character is one entry. Eight hex digits are always printed so the columns line up.
What to Expect
Best for
- Code-point iteration, not UTF-16 units
- Eight-digit hex per character
- Byte total is four per code point
What this tool keeps
- one code point per character and the byte total
Sample input
hi
Sample output
h → U+00000068 i → U+00000069 Code points = 2, UTF-32 bytes = 8
Frequently asked questions
How do I use the unicode to utf32 page?
Paste the text, then press Run. The last line is the two totals.
Is anything uploaded?
No. The whole calculation runs in this tab with JavaScript: no request is made, no account is needed, nothing is stored, and the page keeps working offline once it has loaded.
What are its limits or bounds?
The box must hold text. Iteration is by code point, so a character outside the basic plane must print one entry rather than two surrogate halves.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.