EditSafely

Convert UTF8 to Any Base

Quickly convert UTF8 to arbitrary base values.

Runs on your device, nothing uploaded

Base
Separator
Case
Try:

0 chars · 0 lines

Output

Quickly convert UTF8 to arbitrary base values.

Type or paste above to see the result here.

Example: Convert

What you paste never leaves this tab

Convert UTF8 to Any Base is JavaScript that your browser has already downloaded, and it does the whole job on your own machine. On a normal site, the text you paste is sent to a server that can log it, cache it or keep it. Here it is read and transformed inside this tab and nowhere else.

  • No upload
  • No length limit
  • Works offline once loaded
  • Nothing stored or logged

How to use Convert UTF8 to Any Base

  1. 1. Paste the UTF-8 text. Type or paste the text you want converted, such as a single letter or a longer sentence, into the input pane.
  2. 2. Tap a Base chip and a Separator. Pick 2, 3, 8, 16, 32 or 36, or type any base up to 36. Pad to equal width (on by default) writes every byte with the same number of digits, 6 in base 3, so even the None separator can be read back.
  3. 3. Copy the values. The output lists each UTF-8 byte in your base, and the byte strip shows which bytes belong to which character. Case under More options switches the letter digits to upper case.

When to use Convert UTF8 to Any Base

Convert UTF8 to Any Base rewrites each character's code point in a radix you choose, from binary up through base 36, instead of the usual decimal or hex. It is the tool to reach for whenever a puzzle, embedded format or classroom exercise expects an unusual number base.

  • Designing a base-36 puzzle or CTF challenge. You are building an escape-room clue and want to encode a hidden word as a string of base-36 numbers so it does not look obviously like text.
  • Matching a custom log format's radix. An internal system logs character codes in base 20 to keep entries short. Converting sample strings here confirms your understanding of the log format before writing a parser.
  • Creating a number-base teaching example. A course on numeral systems needs a worked example converting real text into several different bases side by side. This tool generates each version consistently.

Examples

Convert

Input

A

Output

41

Base 3, padded to 6 digits

Input

A

Output

002102

About the Convert UTF8 to Any Base tool

Convert UTF8 to Any Base is a free online tool that works entirely inside your web browser. Quickly convert UTF8 to arbitrary base values. Because the processing happens on your own device, nothing you enter is uploaded, logged or stored anywhere.

This page is one of 69 UTF-8 utilities on EditSafely. Each one does a single job well, and all of them follow the same rule: your input stays on your machine.

You can shape the output with 4 settings, including Base, Separator, Pad to equal width and Case, and the result refreshes the moment you change one. 2 worked examples further down the page show exactly what the tool produces for real inputs.

Because nothing leaves your device, the tool is suitable for sensitive content such as internal documents, credentials or customer data. It also responds instantly, since every step is handled on your own machine rather than by a remote API.

Frequently asked questions

Is Convert UTF8 to Any Base free to use?

Yes, it is completely free. All 2,943 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; your device's memory is the ceiling. Up to 10 MB the result updates as you type, after a short pause that grows with the size. Above 10 MB a Run button appears so typing stays smooth, and files open up to 50 MB. A very long result shows its first 2,000 lines on screen, while Copy and Download always include all of it.

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.

Related tools

All UTF-8 Tools →