Unicode-escape-konverter

Gjør ikke-ASCII-tegn om til et flytbart \uXXXX-format, eller gjenopprett sekvenser til lesbar tekst. Praktisk når du bygger inn unicode i konfigfiler, JSON eller kode.

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

Vanlige spørsmål

Hvilken escape-form produseres?
Hvert tegn blir \u etterfulgt av dens 4-sifrede heksakode; tegn utenfor BMP deles i et høyt/lavt surrogatpar.

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. Om oss MateCalc.

Relaterte Kalkulatorer