Unicode escape converter

Convert text to Unicode escape sequences and decode Unicode escapes.

Processed on your device

Input

Open a local UTF-8 text file5 MiB maximum. The file opens in the text box above.Or drop a file here.

Options

Options

How to use this tool

  1. Choose encoding or decoding.
  2. Encoding produces JavaScript-style \u escapes, including surrogate pairs for supplementary characters.
  3. Decoding accepts \uFFFF and \u{1F600} escapes without running code.

Things to know

  • Processing happens on your device. Check the result before replacing your original data.
  • Each text input accepts up to 5 MiB. Output is limited to 25 MiB and combined text settings to 1 MiB.