Unicode-escape-converter

Zet niet-ASCII-tekens om naar een portable \uXXXX-vorm, of zet sequences terug naar leesbare tekst. Handig bij het inbedden van unicode in configbestanden, JSON of code.

Formule
character → \uXXXX (4 hex digits) · code points above U+FFFF use a surrogate pair

Veelgestelde vragen

Welke escape-vorm wordt gemaakt?
Elk teken wordt \u gevolgd door zijn 4-cijferige hexcode; tekens voorbij de BMP worden gesplitst in een hoog/laag surrogatepaar.

Embed this calculator on your site

Cite this page

About these results

Every calculation on this page runs locally in your browser using published, standard formulas — nothing you enter is sent to a server. Results are estimates for planning purposes and can differ from real-world conditions; always follow your local building code and the advice of a qualified professional for final decisions. You can read more about who builds and maintains these tools on our About page. Over ons MateCalc.

Gerelateerde calculators