World’s largest virtual agentic engineering & quality conference
Paste octal values and get readable text instantly. Decode encoded data, debug logs, or learn how base-8 maps to ASCII characters.
Octal encoding is the representation of data in the base-8 number system, which uses only the digits 0 through 7. Each octal digit maps to exactly three binary bits, so a standard 8-bit character code always fits in at most three octal digits, from 0 to 377.
In octal encoded text, every character is stored as the octal form of its character code from the ASCII standard (RFC 20). The word Hello, for example, becomes 110 145 154 154 157. Base-8 values appear throughout computing: Unix file permissions (chmod 755), escape sequences in C and Python strings, and the output of the od command all use octal.
This converter decodes those values back into readable text. If you need the numeric value instead of a character, use the Octal to Decimal or Octal to Binary converter.
Manual conversion takes three steps. Take the octal sequence 110 145 154 154 157 as a worked example:
Here is the full working for every value in the sequence:
| Octal | Base-8 expansion | Decimal | Character |
|---|---|---|---|
| 110 | (1 × 64) + (1 × 8) + (0 × 1) | 72 | H |
| 145 | (1 × 64) + (4 × 8) + (5 × 1) | 101 | e |
| 154 | (1 × 64) + (5 × 8) + (4 × 1) | 108 | l |
| 154 | (1 × 64) + (5 × 8) + (4 × 1) | 108 | l |
| 157 | (1 × 64) + (5 × 8) + (7 × 1) | 111 | o |
Reading down the Character column spells Hello. The converter above runs the same three steps on every value the moment you paste your input.
Octal text appears in several notations depending on the language or tool that produced it. Here is how to feed each format into this converter:
All conversion happens locally in your browser with JavaScript. Your octal input is never uploaded, stored, or tracked, and the tool keeps working even if you go offline after the page loads.
The table below lists all 128 ASCII characters with their octal, decimal, and 8-bit binary values. Octal 0 through 37 are control characters, 40 through 176 are printable characters, and 177 is delete. Use it as a cheat sheet when converting by hand or checking a single value.
| Octal | Decimal | Binary (8-bit) | Character |
|---|---|---|---|
| 0 | 0 | 00000000 | NUL (null) |
| 1 | 1 | 00000001 | SOH (start of heading) |
| 2 | 2 | 00000010 | STX (start of text) |
| 3 | 3 | 00000011 | ETX (end of text) |
| 4 | 4 | 00000100 | EOT (end of transmission) |
| 5 | 5 | 00000101 | ENQ (enquiry) |
| 6 | 6 | 00000110 | ACK (acknowledge) |
| 7 | 7 | 00000111 | BEL (bell) |
| 10 | 8 | 00001000 | BS (backspace) |
| 11 | 9 | 00001001 | HT (horizontal tab) |
| 12 | 10 | 00001010 | LF (line feed) |
| 13 | 11 | 00001011 | VT (vertical tab) |
| 14 | 12 | 00001100 | FF (form feed) |
| 15 | 13 | 00001101 | CR (carriage return) |
| 16 | 14 | 00001110 | SO (shift out) |
| 17 | 15 | 00001111 | SI (shift in) |
| 20 | 16 | 00010000 | DLE (data link escape) |
| 21 | 17 | 00010001 | DC1 (device control 1 / XON) |
| 22 | 18 | 00010010 | DC2 (device control 2) |
| 23 | 19 | 00010011 | DC3 (device control 3 / XOFF) |
| 24 | 20 | 00010100 | DC4 (device control 4) |
| 25 | 21 | 00010101 | NAK (negative acknowledge) |
| 26 | 22 | 00010110 | SYN (synchronous idle) |
| 27 | 23 | 00010111 | ETB (end of transmission block) |
| 30 | 24 | 00011000 | CAN (cancel) |
| 31 | 25 | 00011001 | EM (end of medium) |
| 32 | 26 | 00011010 | SUB (substitute) |
| 33 | 27 | 00011011 | ESC (escape) |
| 34 | 28 | 00011100 | FS (file separator) |
| 35 | 29 | 00011101 | GS (group separator) |
| 36 | 30 | 00011110 | RS (record separator) |
| 37 | 31 | 00011111 | US (unit separator) |
| 40 | 32 | 00100000 | space |
| 41 | 33 | 00100001 | ! |
| 42 | 34 | 00100010 | " |
| 43 | 35 | 00100011 | # |
| 44 | 36 | 00100100 | $ |
| 45 | 37 | 00100101 | % |
| 46 | 38 | 00100110 | & |
| 47 | 39 | 00100111 | ' |
| 50 | 40 | 00101000 | ( |
| 51 | 41 | 00101001 | ) |
| 52 | 42 | 00101010 | * |
| 53 | 43 | 00101011 | + |
| 54 | 44 | 00101100 | , |
| 55 | 45 | 00101101 | - |
| 56 | 46 | 00101110 | . |
| 57 | 47 | 00101111 | / |
| 60 | 48 | 00110000 | 0 |
| 61 | 49 | 00110001 | 1 |
| 62 | 50 | 00110010 | 2 |
| 63 | 51 | 00110011 | 3 |
| 64 | 52 | 00110100 | 4 |
| 65 | 53 | 00110101 | 5 |
| 66 | 54 | 00110110 | 6 |
| 67 | 55 | 00110111 | 7 |
| 70 | 56 | 00111000 | 8 |
| 71 | 57 | 00111001 | 9 |
| 72 | 58 | 00111010 | : |
| 73 | 59 | 00111011 | ; |
| 74 | 60 | 00111100 | < |
| 75 | 61 | 00111101 | = |
| 76 | 62 | 00111110 | > |
| 77 | 63 | 00111111 | ? |
| 100 | 64 | 01000000 | @ |
| 101 | 65 | 01000001 | A |
| 102 | 66 | 01000010 | B |
| 103 | 67 | 01000011 | C |
| 104 | 68 | 01000100 | D |
| 105 | 69 | 01000101 | E |
| 106 | 70 | 01000110 | F |
| 107 | 71 | 01000111 | G |
| 110 | 72 | 01001000 | H |
| 111 | 73 | 01001001 | I |
| 112 | 74 | 01001010 | J |
| 113 | 75 | 01001011 | K |
| 114 | 76 | 01001100 | L |
| 115 | 77 | 01001101 | M |
| 116 | 78 | 01001110 | N |
| 117 | 79 | 01001111 | O |
| 120 | 80 | 01010000 | P |
| 121 | 81 | 01010001 | Q |
| 122 | 82 | 01010010 | R |
| 123 | 83 | 01010011 | S |
| 124 | 84 | 01010100 | T |
| 125 | 85 | 01010101 | U |
| 126 | 86 | 01010110 | V |
| 127 | 87 | 01010111 | W |
| 130 | 88 | 01011000 | X |
| 131 | 89 | 01011001 | Y |
| 132 | 90 | 01011010 | Z |
| 133 | 91 | 01011011 | [ |
| 134 | 92 | 01011100 | \ |
| 135 | 93 | 01011101 | ] |
| 136 | 94 | 01011110 | ^ |
| 137 | 95 | 01011111 | _ |
| 140 | 96 | 01100000 | ` |
| 141 | 97 | 01100001 | a |
| 142 | 98 | 01100010 | b |
| 143 | 99 | 01100011 | c |
| 144 | 100 | 01100100 | d |
| 145 | 101 | 01100101 | e |
| 146 | 102 | 01100110 | f |
| 147 | 103 | 01100111 | g |
| 150 | 104 | 01101000 | h |
| 151 | 105 | 01101001 | i |
| 152 | 106 | 01101010 | j |
| 153 | 107 | 01101011 | k |
| 154 | 108 | 01101100 | l |
| 155 | 109 | 01101101 | m |
| 156 | 110 | 01101110 | n |
| 157 | 111 | 01101111 | o |
| 160 | 112 | 01110000 | p |
| 161 | 113 | 01110001 | q |
| 162 | 114 | 01110010 | r |
| 163 | 115 | 01110011 | s |
| 164 | 116 | 01110100 | t |
| 165 | 117 | 01110101 | u |
| 166 | 118 | 01110110 | v |
| 167 | 119 | 01110111 | w |
| 170 | 120 | 01111000 | x |
| 171 | 121 | 01111001 | y |
| 172 | 122 | 01111010 | z |
| 173 | 123 | 01111011 | { |
| 174 | 124 | 01111100 | | |
| 175 | 125 | 01111101 | } |
| 176 | 126 | 01111110 | ~ |
| 177 | 127 | 01111111 | DEL (delete) |
An octal number is a value written in the base-8 numeral system, which uses only the digits 0 through 7. Each octal digit represents exactly three binary bits, which makes octal a compact way to write binary data such as ASCII character codes and Unix file permissions.
Split the octal string into separate values, convert each value from base 8 to decimal, then look up the decimal code in the ASCII table. For example, octal 110 is decimal 72, which is the character H. Repeat for every value and join the characters.
The converter accepts octal values separated by spaces, tabs, or line breaks, for example 110 145 154 154 157. For backslash-escaped sequences such as \141\142, replace each backslash with a space first. Unbroken digit strings are read as one number, so keep values separated.
Yes. Paste any number of whitespace-separated octal values and the converter decodes them in one pass. Each line is converted independently and line breaks are preserved, so a multi-line octal dump decodes into multi-line text with the same structure.
Yes. Octal values from 0 to 177 decode to ASCII characters, and larger values up to 177777 decode to the matching Unicode code point. For example, octal 400 is decimal 256, which is the character Ā. Note that each value is treated as a character code, not a UTF-8 byte.
Decimal 0 through 7 look the same in octal. From 8 onward you carry into the next place value, so decimal 8 is octal 10, decimal 16 is octal 20, decimal 32 is octal 40, and decimal 39 is octal 47.
Yes. The conversion runs entirely in your browser using JavaScript, and your octal input is never uploaded, stored, or tracked. The optional Load via URL button fetches the file you point it at directly from your browser as well, so no data passes through TestMu AI servers.
The same decode workflow applies to other number bases: try Binary to Text, Hex to Text, or Decimal to Text when your data uses a different base. Decoded strings often become test input: turn them into automated tests with KaneAI, the AI-native test agent from TestMu AI.
Did you find this page helpful?
TestMu AI forEnterprise
Get access to solutions built on Enterprise
grade security, privacy, & compliance