Skip to content
OddsockLocal
Local
Source text

Formatting

5 wordsRuns in this browser. Nothing is uploaded.

How to use

  1. Type the text or paste octal bytes.
  2. Set Direction. Encode is selected at the start.
  3. Read three digits per byte. 040 is a space, 056 is a period.
  4. On decode, stay inside 000–377 octal. 8 and 9 are not digits here.

What is Text and octal?

Octal shows up in file permissions and in older Unix dumps, so a byte listing in base 8 is sometimes what a man page expects. This page writes each UTF-8 byte as octal, padded to three digits. Odd socks in the dryer. starts 117 144 144 040. The 040 is the space. The period at the end is 056.

Read more

Three-digit padding matters for the same reason eight-bit binary padding matters. 040 is a space. 40 without the leading zero is a different conversation if the next tool reads fixed-width groups. Decode accepts spaces or commas and rejects a value above 255 or a digit 8 or 9, which are not octal.

Å is 303 205, two bytes, matching the hex pairs c3 85. If you wanted a single code point, use the U+ page. This one stays on bytes so it lines up with the decimal and binary converters.

Use cases

  • A Unix user staring at an old dump wants the space as 040, the way octal listings print it.
  • Someone learning chmod numbers wants to see the same byte in octal next to the character it came from.
  • A worksheet asks for three-digit octal and a calculator keeps eating the leading zero.
  • You need to confirm 8 and 9 are rejected as octal digits rather than parsed in decimal.

Three-digit octal for each byte of a sentence

Direction encode. Text: Odd socks in the dryer.

117 144 144 040 163 157 143 153 163 040 151 156 040 164 150 145 040 144 162 171 145 162 056

Why use Oddsock

The leading zero on 040 is the difference between a space and a number someone will misread as thirty-two written badly.

Related tools

Using this tool

A byte fits in three octal digits, from 000 to 377. Padding keeps 040 looking like a byte instead of the two-digit number 40.