πŸ“‹ Convert to Unicode Escapes

Convert text characters to Unicode escape sequences (\\uXXXX format). This tool is useful for developers working with internationalization, JSON encoding, programming, and handling special characters in code.

πŸ“Œ Unicode Escape Sequences:
Type or paste text to see Unicode escape sequences...
Characters: 0
πŸ’‘ What are Unicode Escapes? Unicode escape sequences represent characters using the format \uXXXX where X is a hexadecimal digit:
  • Each character is converted to its Unicode code point
  • Format: \u followed by 4 hexadecimal digits
  • Example: "A" becomes "\u0041"
  • Useful for encoding special characters and non-ASCII text

πŸ“ Examples:

Input:
Hello
Output:
\u0048\u0065\u006c\u006c\u006f
Input:
δ½ ε₯½δΈ–η•Œ (Hello in Chinese)
Output:
\u4f60\u597d\u4e16\u754c
Input:
CafΓ©
Output:
\u0043\u0061\u0066\u00e9
πŸ“š Use Cases:
  • Encoding international text in JavaScript and JSON
  • Creating string literals with special characters in source code
  • Storing non-ASCII characters in configuration files
  • Debugging character encoding issues
  • Internationalization (i18n) and localization (l10n)
  • Working with Unicode in HTML and XML documents
ℹ️ Format Details: This tool uses the standard JavaScript Unicode escape format (\uXXXX). Each character is represented by exactly 4 hexadecimal digits.