Encoding
Unicode Escape
Encode and decode Unicode escape sequences.
How to use it
- Open Devly from the wrench in your menu bar, or press ⌃⌥⌘D. Press ⌘P, type Unicode Escape and press Return.
- Choose Encode or Decode at the top.
- Paste or type your text into Input.
- Adjust the Options on the right if you need to. The defaults are listed below.
- Press Encode, or ⌘↵.
- To go the other way, press Swap or ⌘S. The output moves into the input.
- Use Copy or ⇧⌘C to copy the result. ⌘L clears everything.
Options
| Option | Values | Default |
|---|---|---|
| FormatUnicode escape format | \uXXXX, \UXXXXXXXX, \xXX, U+XXXX | \uXXXX |
| Escape all charactersEscape all characters, not just non-ASCII | On or off | Off |
| Uppercase hexUse uppercase letters in hex values | On or off | On |
Example
Real output from Devly, with the default options.
Input
Café ☕ naïve — 日本語
Caf\u00E9 \u2615 na\u00EFve \u2014 \u65E5\u672C\u8A9E
From Terminal
With the free command-line tool installed:
Terminal
devly unicode "Café ☕ naïve — 日本語" # or pipe text in pbpaste | devly unicode
Quick Switch also finds it by: unicode, escape, \u, codepoint, hex, javascript, java.
More Encoding tools
Base64Encode and decode Base64 stringsURL Encode / DecodeEncode and decode URL percent-encodingHTML EntityEncode and decode HTML entitiesJWT DecoderDecode and inspect JSON Web TokensText to Binary/Hex/Octal/DecimalEncode text as binary, hexadecimal, octal, or decimal bytesMorse CodeConvert text to and from Morse code