My Learning

Keep this for later

Sign in or create a free account to save it. You’ll return to this page afterward.

Sign inCreate an account

Text to Octal

Encode the UTF-8 bytes of text as three-digit octal values.

Text conversions use UTF-8 bytes. For decoding, enter complete byte values.

How to use this tool

Enter text, then process it. Copy the space-separated octal bytes from the result.

Important to know

Encode the UTF-8 bytes of text as three-digit octal values.

This uses UTF-8 bytes, not Unicode code points. A non-ASCII character can produce several octal values.

Formula and methodology

Encode text as UTF-8, then convert every byte value from 0–255 into a three-digit base-8 number.

Example

The letter A becomes octal 101.

Frequently asked questions

Why does an emoji produce several numbers?

An emoji is represented by multiple UTF-8 bytes; each byte receives its own octal value.