Text ⇄ Unicode Code Points

Convert text to and from Unicode code points in multiple formats

Text

0 UTF-16 units0 code points

Code points

0 characters

About code points

This tool iterates by Unicode code point (using String.prototype.codePointAt), so characters outside the Basic Multilingual Plane — emoji, many CJK extensions, mathematical symbols — round-trip correctly. The \uXXXX output uses surrogate pairs for code points above U+FFFF, since the \u escape only encodes 16-bit values.