Skip to content

Another spelling of the same bytes

Show text as octal bytes

Each UTF-8 byte is printed as three octal digits.

Decoding accepts only groups from 000 to 377.

The work stays in this tab.

This tool runs in your browser. Turn on JavaScript to use it.

Octal bytes

The sample is fixed. It uses the same rule as the form.

Input
Hi
Result
110 151

How to use it

  1. 1Paste the text.
  2. 2Choose encode or decode.
  3. 3Copy the result.

Good to know

  • Three digits are one byte, not a decimal number.
  • This page does not upload the text.
  • Text longer than one hundred thousand characters is rejected.

Questions

Does the result leave this browser?

No. The calculation finishes in the current tab.

What does this page leave out?

Three digits are one byte, not a decimal number.

What if the input is huge?

Past one hundred thousand characters, the page stops and asks you to shorten it.

Related tools

  • Show text as binary bytes

    Each UTF-8 byte is printed as eight bits, separated by spaces.

  • Encode text as hexadecimal

    Hex is a way to show raw bytes. This page encodes text as UTF-8 first, then prints each byte. Decoding accepts only an even number of digits and rejects bytes that are not UTF-8.

  • Convert binary, octal, decimal, and hex

    255, 0xFF, and 11111111 are one integer written three ways. This page keeps that integer exact and shows the other spellings beside the field you edit.