← All free tools Converter tools

Octal converter

Convert text to octal and the other way for any string input.

Convert

About this tool

The octal converter turns text into octal, base 8, and back again. Each byte of the text is written as an octal number from 000 to 377, so “Hi” becomes 110 151.

How to use the octal converter

  1. Choose To octal or To text.
  2. Type or paste your text, or octal numbers separated by spaces, commas or new lines.
  3. Copy the result.

What octal is

Octal counts in eights, using only the digits 0 to 7. One octal digit is exactly three bits, which made it popular on early computers. Today you mostly meet it in two places:

  • Unix file permissions, like chmod 755 or 644, where each digit sets read, write and run rights for a group of users.
  • Escape codes in older programming languages and shells, like \101 for A.

UTF-8 and other alphabets

The text is encoded as UTF-8 before conversion, so accented letters and emoji become several bytes, and decoding reads the bytes back as UTF-8, so the text comes back exactly as it was. The same bytes can also be shown in binary, decimal or hex with the other converters. It all happens in your browser.

Have a project in mind?

Have a brand or a product to grow?