Convert ASCII to Any Base
Convert ASCII characters to numbers in any base from 2 to 36. Runs entirely in your browser, so your data never leaves your device.
0 chars · 0 lines
Output
The result appears here as you type.
How to use Convert ASCII to Any Base
- 1. Enter the text to encode. Type or paste ASCII text into the input pane. Each character is taken as its numeric code, ready to be written out in whatever radix you select next.
- 2. Pick the target base. Set the Base option between 2 and 36. Base 16 gives compact hex like 48 69 for Hi, base 2 exposes the raw bit patterns, and unusual bases like 5 or 29 make good puzzle material.
- 3. Set the separator between values. The Separator option controls what sits between encoded numbers. A space is easiest to read, a comma suits pasting into arrays, and a newline gives you one value per line for spreadsheets.
- 4. Copy the encoded numbers. Copy the finished sequence from the output pane. Anyone can reverse it with the matching any-base decoder as long as they know, or can guess, the base you chose.
When to use Convert ASCII to Any Base
Convert ASCII to Any Base writes each character's code in a radix you choose, from binary up to base 36. It replaces a shelf of single-base encoders with one adjustable dial, and the separator control means the output drops straight into whatever format your destination expects.
- Creating puzzle and CTF material. Encoding a message in base 23 makes a satisfying challenge because standard hex and binary decoders fail on it. Hand out the digits and let solvers discover the radix themselves.
- Matching a protocol's numeric format. An embedded protocol logs character data in base 32 with comma separators. Reproduce the exact wire format here to build comparison fixtures without writing a custom encoder first.
- Teaching positional number systems. Show a class the same word encoded in base 2, 8, 10 and 16 side by side. Watching the digit lengths shrink as the base grows makes radix tradeoffs concrete in one slide.
- Generating array literals for code. You need character codes as a base-8 list with comma separators for a C escape table. Set the base and separator once and paste the output directly between the braces.
Examples
Base 16
Input
Hi
Output
48 69
About the Convert ASCII to Any Base tool
Convert ASCII to Any Base does its work locally, right in the browser. Convert ASCII characters to numbers in any base from 2 to 36. There is no upload step, no queue and no account, and your data never travels over the network.
It belongs to the ASCII Tools collection on EditSafely, a set of 81 small, focused ASCII utilities that share the same instant, private workspace.
You can shape the output with 2 settings, including Base and Separator, and the result refreshes the moment you change one. A worked example further down the page shows exactly what the tool produces for a real input.
Running locally also makes the tool fast and dependable: results appear as you type or drop a file, there is no server outage that can take it down mid-task, and confidential data can be processed without a second thought.
Frequently asked questions
Is Convert ASCII to Any Base free to use?
Yes, it is completely free. All 2,658 tools on EditSafely work without an account, a subscription or usage limits.
Is it safe to paste sensitive or confidential data?
Everything happens locally. Your browser downloads the tool's code once, then does all the processing itself; nothing you enter is transmitted, stored or logged. You can even go offline after the page loads and it will still work.
How much text can I process at once?
There is no fixed limit. Because the work happens on your own device rather than on a shared server, the practical ceiling is your machine's memory, which comfortably handles inputs far larger than typical online tools allow.
Do I need to sign up or install anything?
No. The tool works in any modern browser on desktop, tablet or phone. There is no account to create, no extension to add and no software to install.
How do I use the result?
The output panel has a one-click copy button, and you can keep refining the input while you work; the result updates in place as you type.