Octal Text Converter — Text ↔ Octal

Convert between readable text and its octal (base-8) representation. Every character is first encoded as UTF-8 bytes, then each byte becomes three octal digits (000–377). Enter text to get its octal form, or paste octal digits to decode them back to readable text. Unicode letters and emoji work too — they simply span several 3-digit groups.
This tool processes all data locally in your browser — nothing is uploaded.
Mode: Auto mode: space/comma-separated 0-7 digit groups that look like octal bytes are decoded, everything else is encoded.
Prefix: Separator: Each byte becomes 3 octal digits (000–377). Decoding tolerates 0o / % prefixes and any whitespace / comma / dash / newline.
Conversion runs live as you type.
Type or paste text to encode it as UTF-8 octal bytes, or paste octal bytes (000–377 each) to decode them back to text.
Background:
Octal (base-8) is a compact way to write binary bytes: one byte needs only three digits (000 = 0 … 377 = 255). It shows up in Unix file permissions (chmod 644), \ddd escape sequences in C/Python/Java strings, and old ASCII tables. This page encodes text as its UTF-8 byte stream — one three-digit group per byte — which is a different, finer granularity than the ASCII Code Converter’s per-character octal mode. For the base-2 and base-16 siblings see Binary Text and Hex Text.
Octal escapes and octal literals

In C-family source code the escape \0 (and any \ddd) is octal — \101 is the letter A. JavaScript once wrote octal literals with a bare leading zero (0123), a form strict mode rejects; the modern explicit prefix is 0o, which this page accepts alongside % and plain digit groups.

Octal here is byte-level, not character-level: text is first encoded as UTF-8, so one non-ASCII character becomes several bytes and therefore several three-digit groups — 中 alone is 344 270 255.