Skip to content
Text Mechanic
Encoding

Unicode ↔ ASCII

Convert between characters and their escape sequences.

Converts characters to \uXXXX escape sequences and back. Escaping is how non-ASCII text survives a channel that only carries ASCII — a properties file, a legacy config, a terminal. Characters above U+FFFF are written as surrogate pairs or as \u{...}, depending on the style you choose.

Options

Leaves plain English text readable.

InputText is processed entirely in your browser.
0lines0words0characters0 B
Output
0lines0words0characters0 B

Options explained

  • Only escape non-ASCII charactersLeaves plain English text readable.