Octal-Escaped String Decoder

Supports \nnn / %HH / \xHH / \uHHHH and decodes as UTF-8 automatically

🔒 This tool runs entirely in your browser — your data never leaves your device.

Octal-Escaped String Decoder

Convert octal-escaped byte sequences (such as Python bytes literals or HTTP capture logs) back into readable UTF-8 text. Also supports %HH, \xHH and \uHHHH encodings. Everything happens locally in your browser.

  • Decodes \345\255\246 octal byte sequences
  • Compatible with %E5%AD%A6 URL encoding
  • Compatible with \xE5\xAD\xA6 and \u5b66
  • Runs in browser — zero data upload
  • Reverse encoding to \nnn supported

FAQ

What is an octal-escaped string?

Languages like Python represent non-printable bytes in bytes literals as \nnn. For example the UTF-8 encoding of 学 (0xE5 0xAD 0xA6) is written as \345\255\246.

Will my data be uploaded?

No. Decoding happens entirely in your browser; the server never receives your input.

Which input formats are supported?

\nnn octal, %HH URL encoding, \xHH hex and \uHHHH Unicode escapes, including mixed forms.