T
THINKFORU
Submit Feedback

Text to Octal Converter: ASCII & UTF-8 Encoder

Text to Octal Converter: ASCII & UTF-8 Encoder

Text to Octal Converter

Save on Google
Tip: drag and drop a .txt file onto the input box.
Output appears here
 
Related Developer Tools
Tool NameExplanation
Octal to Text ConverterDecodes octal bytes (110 145 154 154 157) back into readable text.
Text to Hex ConverterConverts text into hexadecimal bytes with separator, case and prefix options.
Hex to Text ConverterDecodes hexadecimal bytes (48 65 6C 6C 6F) back into readable text.
Text to Binary ConverterConverts text into 8-bit or 7-bit binary (0s and 1s) instantly.
Binary to Text ConverterDecodes binary (0s and 1s) back into readable text.
Base64 Encode / DecodeEncodes text or files to Base64 and decodes Base64 strings instantly.
JSON to Go Struct ConverterGenerates idiomatic Go structs with json tags from any JSON payload.
JSON to TypeScript InterfaceGenerates typed TypeScript interfaces from any JSON payload.
HTML to JSX ConverterConverts HTML markup into valid React JSX (className, self-closing tags, style objects).
TOML to JSON ConverterTransforms TOML config files into clean, formatted JSON or YAML.

Common Words in Octal Code

TextCategoryOctal (UTF-8)Decimal Bytes
HiGreeting110 15172 105
HelloGreeting110 145 154 154 15772 101 108 108 111
HeyGreeting110 145 17172 101 121
HolaGreeting110 157 154 14172 111 108 97
BonjourGreeting102 157 156 152 157 165 16266 111 110 106 111 117 114
CiaoGreeting103 151 141 15767 105 97 111
HalloGreeting110 141 154 154 15772 97 108 108 111
NamasteGreeting116 141 155 141 163 164 14578 97 109 97 115 116 101
WelcomeGreeting127 145 154 143 157 155 14587 101 108 99 111 109 101
GoodbyeGreeting107 157 157 144 142 171 14571 111 111 100 98 121 101
Good MorningGreeting107 157 157 144 040 115 157 162 156 151 156 14771 111 111 100 32 77 111 114 110 105 110 103
Good NightGreeting107 157 157 144 040 116 151 147 150 16471 111 111 100 32 78 105 103 104 116
Good LuckGreeting107 157 157 144 040 114 165 143 15371 111 111 100 32 76 117 99 107
See YouGreeting123 145 145 040 131 157 16583 101 101 32 89 111 117
Hello ThereGreeting110 145 154 154 157 040 124 150 145 162 14572 101 108 108 111 32 84 104 101 114 101
LoveLove & Feelings114 157 166 14576 111 118 101
I love youLove & Feelings111 040 154 157 166 145 040 171 157 16573 32 108 111 118 101 32 121 111 117
Miss youLove & Feelings115 151 163 163 040 171 157 16577 105 115 115 32 121 111 117
HappyLove & Feelings110 141 160 160 17172 97 112 112 121
SadLove & Feelings123 141 14483 97 100
AngryLove & Feelings101 156 147 162 17165 110 103 114 121
HugLove & Feelings110 165 14772 117 103
KissLove & Feelings113 151 163 16375 105 115 115
SmileLove & Feelings123 155 151 154 14583 109 105 108 101
FriendLove & Feelings106 162 151 145 156 14470 114 105 101 110 100
FamilyLove & Feelings106 141 155 151 154 17170 97 109 105 108 121
MomLove & Feelings115 157 15577 111 109
DadLove & Feelings104 141 14468 97 100
BabyLove & Feelings102 141 142 17166 97 98 121
HeartLove & Feelings110 145 141 162 16472 101 97 114 116
YesCommon Phrase131 145 16389 101 115
NoCommon Phrase116 15778 111
OKCommon Phrase117 11379 75
ThanksCommon Phrase124 150 141 156 153 16384 104 97 110 107 115
Thank youCommon Phrase124 150 141 156 153 040 171 157 16584 104 97 110 107 32 121 111 117
PleaseCommon Phrase120 154 145 141 163 14580 108 101 97 115 101
SorryCommon Phrase123 157 162 162 17183 111 114 114 121
CongratsCommon Phrase103 157 156 147 162 141 164 16367 111 110 103 114 97 116 115
CoolCommon Phrase103 157 157 15467 111 111 108
AwesomeCommon Phrase101 167 145 163 157 155 14565 119 101 115 111 109 101
HelpCommon Phrase110 145 154 16072 101 108 112
PeaceCommon Phrase120 145 141 143 14580 101 97 99 101
HopeCommon Phrase110 157 160 14572 111 112 101
DreamCommon Phrase104 162 145 141 15568 114 101 97 109
BelieveCommon Phrase102 145 154 151 145 166 14566 101 108 105 101 118 101
Stay StrongCommon Phrase123 164 141 171 040 123 164 162 157 156 14783 116 97 121 32 83 116 114 111 110 103
Happy BirthdayCelebration110 141 160 160 171 040 102 151 162 164 150 144 141 17172 97 112 112 121 32 66 105 114 116 104 100 97 121
Merry ChristmasCelebration115 145 162 162 171 040 103 150 162 151 163 164 155 141 16377 101 114 114 121 32 67 104 114 105 115 116 109 97 115
Happy New YearCelebration110 141 160 160 171 040 116 145 167 040 131 145 141 16272 97 112 112 121 32 78 101 119 32 89 101 97 114
Happy DiwaliCelebration110 141 160 160 171 040 104 151 167 141 154 15172 97 112 112 121 32 68 105 119 97 108 105
Eid MubarakCelebration105 151 144 040 115 165 142 141 162 141 15369 105 100 32 77 117 98 97 114 97 107
CongratulationsCelebration103 157 156 147 162 141 164 165 154 141 164 151 157 156 16367 111 110 103 114 97 116 117 108 97 116 105 111 110 115
BinaryTech & Code102 151 156 141 162 17166 105 110 97 114 121
CodeTech & Code103 157 144 14567 111 100 101
Hello WorldTech & Code110 145 154 154 157 040 127 157 162 154 14472 101 108 108 111 32 87 111 114 108 100
PythonTech & Code120 171 164 150 157 15680 121 116 104 111 110
JavaScriptTech & Code112 141 166 141 123 143 162 151 160 16474 97 118 97 83 99 114 105 112 116
JavaTech & Code112 141 166 14174 97 118 97
GoTech & Code107 15771 111
RustTech & Code122 165 163 16482 117 115 116
ReactTech & Code122 145 141 143 16482 101 97 99 116
HTMLTech & Code110 124 115 11472 84 77 76
CSSTech & Code103 123 12367 83 83
JSONTech & Code112 123 117 11674 83 79 78
SQLTech & Code123 121 11483 81 76
LinuxTech & Code114 151 156 165 17076 105 110 117 120
ComputerTech & Code103 157 155 160 165 164 145 16267 111 109 112 117 116 101 114
DataTech & Code104 141 164 14168 97 116 97
BitTech & Code102 151 16466 105 116
ByteTech & Code102 171 164 14566 121 116 101
HackerTech & Code110 141 143 153 145 16272 97 99 107 101 114
AdminTech & Code101 144 155 151 15665 100 109 105 110
PasswordTech & Code120 141 163 163 167 157 162 14480 97 115 115 119 111 114 100
InternetTech & Code111 156 164 145 162 156 145 16473 110 116 101 114 110 101 116
GoogleTech & Code107 157 157 147 154 14571 111 111 103 108 101
AndroidTech & Code101 156 144 162 157 151 14465 110 100 114 111 105 100
RobotTech & Code122 157 142 157 16482 111 98 111 116
AITech & Code101 11165 73
CatEveryday Word103 141 16467 97 116
DogEveryday Word104 157 14768 111 103
SunEveryday Word123 165 15683 117 110
MoonEveryday Word115 157 157 15677 111 111 110
StarEveryday Word123 164 141 16283 116 97 114
FireEveryday Word106 151 162 14570 105 114 101
WaterEveryday Word127 141 164 145 16287 97 116 101 114
EarthEveryday Word105 141 162 164 15069 97 114 116 104
MoneyEveryday Word115 157 156 145 17177 111 110 101 121
GameEveryday Word107 141 155 14571 97 109 101
MusicEveryday Word115 165 163 151 14377 117 115 105 99
MagicEveryday Word115 141 147 151 14377 97 103 105 99
KingEveryday Word113 151 156 14775 105 110 103
QueenEveryday Word121 165 145 145 15681 117 101 101 110
AngelEveryday Word101 156 147 145 15465 110 103 101 108
TigerEveryday Word124 151 147 145 16284 105 103 101 114
LifeEveryday Word114 151 146 14576 105 102 101
TimeEveryday Word124 151 155 14584 105 109 101
WorldEveryday Word127 157 162 154 14487 111 114 108 100
HomeEveryday Word110 157 155 14572 111 109 101
LightEveryday Word114 151 147 150 16476 105 103 104 116
DarkEveryday Word104 141 162 15368 97 114 107

ASCII Octal Reference Matrix (0-127)

CharacterOctalDecimalHexBits (8-bit)
NUL (Null)00000000000000
SOH00110100000001
STX00220200000010
ETX00330300000011
EOT00440400000100
ENQ00550500000101
ACK00660600000110
BEL (Bell)00770700000111
BS (Backspace)01080800001000
HT (Horizontal Tab)01190900001001
LF (Line Feed)012100A00001010
VT013110B00001011
FF014120C00001100
CR (Carriage Return)015130D00001101
SO016140E00001110
SI017150F00001111
DLE020161000010000
DC1021171100010001
DC2022181200010010
DC3023191300010011
DC4024201400010100
NAK025211500010101
SYN026221600010110
ETB027231700010111
CAN030241800011000
EM031251900011001
SUB032261A00011010
ESC (Escape)033271B00011011
FS034281C00011100
GS035291D00011101
RS036301E00011110
US037311F00011111
SP (Space)040322000100000
!041332100100001
"042342200100010
#043352300100011
$044362400100100
%045372500100101
&046382600100110
'047392700100111
(050402800101000
)051412900101001
*052422A00101010
+053432B00101011
,054442C00101100
-055452D00101101
.056462E00101110
/057472F00101111
0060483000110000
1061493100110001
2062503200110010
3063513300110011
4064523400110100
5065533500110101
6066543600110110
7067553700110111
8070563800111000
9071573900111001
:072583A00111010
;073593B00111011
<074603C00111100
=075613D00111101
>076623E00111110
?077633F00111111
@100644001000000
A101654101000001
B102664201000010
C103674301000011
D104684401000100
E105694501000101
F106704601000110
G107714701000111
H110724801001000
I111734901001001
J112744A01001010
K113754B01001011
L114764C01001100
M115774D01001101
N116784E01001110
O117794F01001111
P120805001010000
Q121815101010001
R122825201010010
S123835301010011
T124845401010100
U125855501010101
V126865601010110
W127875701010111
X130885801011000
Y131895901011001
Z132905A01011010
[133915B01011011
\134925C01011100
]135935D01011101
^136945E01011110
_137955F01011111
`140966001100000
a141976101100001
b142986201100010
c143996301100011
d1441006401100100
e1451016501100101
f1461026601100110
g1471036701100111
h1501046801101000
i1511056901101001
j1521066A01101010
k1531076B01101011
l1541086C01101100
m1551096D01101101
n1561106E01101110
o1571116F01101111
p1601127001110000
q1611137101110001
r1621147201110010
s1631157301110011
t1641167401110100
u1651177501110101
v1661187601110110
w1671197701110111
x1701207801111000
y1711217901111001
z1721227A01111010
{1731237B01111011
|1741247C01111100
}1751257D01111101
~1761267E01111110
DEL (Delete)1771277F01111111

UTF-8 Multi-Byte Octal Reference Matrix

Example / RangeCode PointBytesUTF-8 Octal
1-byte range (ASCII)U+0000 to U+007F1000-177
2-byte rangeU+0080 to U+07FF2302-337 200-277
3-byte rangeU+0800 to U+FFFF3340-357 200-277 200-277
4-byte rangeU+10000 to U+10FFFF4360-364 200-277 200-277 200-277
AU+00411101
éU+00E92303 251
ñU+00F12303 261
ßU+00DF2303 237
£U+00A32302 243
€U+20AC3342 202 254
₹U+20B93342 202 271
✓U+27133342 234 223
★U+26053342 230 205
नU+09283340 244 250
你U+4F603344 275 240
あU+30423343 201 202
한U+D55C3355 225 234
😀U+1F6004360 237 230 200
🙂U+1F6424360 237 231 202
🚀U+1F6804360 237 232 200

Technical Q&A / FAQ Matrix

Technical Developer QuestionExact Solution & Code Snippet
How do I convert text to octal in JavaScript?[...new TextEncoder().encode(text)].map(b => b.toString(8).padStart(3, '0')).join(' ')
How do I convert text to octal in Python?' '.join(f'{b:03o}' for b in text.encode('utf-8'))
How do I convert text to octal in Go?for _, b := range []byte(s) { fmt.Printf("%03o ", b) }
How do I convert text to octal in Java?for (byte b : s.getBytes(StandardCharsets.UTF_8)) System.out.printf("%03o ", b & 0xFF);
How do I convert text to octal in C#?string.Join(" ", Encoding.UTF8.GetBytes(s).Select(b => Convert.ToString(b, 8).PadLeft(3, '0')))
How do I convert text to octal in PHP?echo implode(' ', array_map(fn($c) => sprintf('%03o', ord($c)), str_split($s)));
How do I convert text to octal in Rust?s.bytes().map(|b| format!("{:03o}", b)).collect::<Vec<_>>().join(" ")
How do I convert text to octal on Linux?printf '%s' 'Hi' | od -An -to1
What is the octal code for the letter A?101 (decimal 65, hex 41). The lowercase a is 141.
Why does each byte use 3 octal digits?One byte holds 0 to 255, which is 000 to 377 in octal. Each octal digit covers 3 bits, so 3 digits cover the 8 bits.
What is the octal code for a space?040 (decimal 32).
Why does an emoji give 12 octal digits?UTF-8 uses 1 to 4 bytes per character. The rocket emoji is 4 bytes: 360 237 232 200.
Why is the octal for an accented letter longer?Characters above U+007F take 2 to 4 bytes in UTF-8. The letter e with an acute accent is 303 251.
Where is octal still used?Unix file permissions (chmod 755), C and shell string escapes such as \101, and some legacy protocols.
What do the 0o and backslash prefixes mean?0o marks an octal number in Python 3, JavaScript and Rust. A backslash followed by digits is a byte escape inside C, Go and shell strings.
How do I convert octal back to text?new TextDecoder().decode(new Uint8Array(oct.split(' ').map(o => parseInt(o, 8))))