ROT13 to Text
Decode ROT13 and crack any Caesar cipher rotation.
Convert text into octal character codes.
Text to Octal converts each character into its base-8 code, padded to three digits so the values line up. A backslash escape format produces output that pastes straight into a C or shell string literal, which is where octal still genuinely appears.
Octal is base 8, and it survives in computing mainly through Unix. File permissions are octal — 755 and 644 are octal numbers — and octal escape sequences still appear in C string literals and in older regular expression syntax.
This converts each character of your text into its octal code. Plain ASCII characters produce three octal digits, which is why the padding option matters: padded to three, the codes line up in columns and can be read as a fixed-width stream. There is a backslash escape format for pasting straight into a C or shell string, and both UTF-8 byte and code point modes for the same reason the binary converter has them.
Output as \101\102\103, valid in C, C++, Java and most shells.
Every code the same width, so an unseparated run can be split back correctly.
UTF-8 bytes for escapes, code points for one value per character.
Spaces for reading, commas for an array, nothing for a fixed-width stream.
The page says why octal survives — Unix permissions and C escapes — rather than presenting it as arbitrary.
Any text you need in octal.
UTF-8 bytes for escape sequences; code points for one value per character.
Space separated for reading, or backslash escaped for a C or shell string literal.
Padded to three digits by default, so the codes line up.
Unix file permissions, mainly. Each permission triple — read, write, execute — is exactly three bits, which is one octal digit, so 755 reads directly as rwxr-xr-x. Octal escape sequences also persist in C string literals.
Three for any byte, since a byte holds values up to 255 and 377 is the largest three-digit octal number. Padding to three keeps every code the same width.
A backslash followed by up to three octal digits, as in \101 for A. It is valid in C, C++, Java and most shells, so the output pastes straight into a string literal.
Rarely now. It was common when word sizes were multiples of three bits, but hexadecimal suits the eight-bit byte better and has largely replaced it outside the Unix permission model.
What people who use the Text to Octal think of it. Reviews come from visitors and are posted as written.
No ratings yet
Yours would be the first.
0 reviews
Newest first
No reviews yet
Be the first to rate the Text to Octal. It takes half a minute and no account.
Write the first reviewDecode ROT13 and crack any Caesar cipher rotation.
Convert text into ASCII character codes in any base.
Fix everything wrong with pasted text in a single pass.
Align text left, right, centre or justified with real spacing.
Turn a script into a spoken running time at your own pace.
Count characters with all whitespace excluded from the total.
Find the longest words in a text and what they cost you.
Catch the spelling mistakes people actually make.