Unicode-escape-konverter

Omvandla icke-ASCII-tecken till ett portabelt \uXXXX-format, eller återställ sekvenser till läsbar text. Smidigt när du bäddar in unicode i config-filer, JSON eller kod.

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

Vanliga frågor

Vilken escape-form skapas?
Varje tecken blir \u följt av dess 4-siffriga hexkod; tecken bortom BMP delas i ett högt/lågt surrogatepar.

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.

Relaterade Räknare