Custom Base Encoder screenshot

Custom Base Encoder

Encode text in any base from 2 to 62 with your own alphabet, in your browser. BigInt arithmetic keeps large values exact.

Privacy First
0 Runs
Updated 2026-11-06
No upload
Instant
No signup

What this custom base encoder does

The whole input is read as one big-endian integer and written in the chosen base, so the result is a single exact number rather than a per-byte chunk. Supply an alphabet to change the digit set; leave it empty to use the standard digits for that base. Leading zero bytes are preserved.

How to use it

Custom Base Encoder: paste the text into the box above, set Base (default "16") and Alphabet (default blank), and press Run to get the encoded value below.

Worked example

Input:

Hello

Output:

48656c6c6f

Why it runs in your browser

The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads text and returns encoded value; reloading the page discards both.

The whole input is read as one big-endian integer and written in the chosen base, so the result is a single exact number rather than a per-byte chunk. Supply an alphabet to change the digit set; leave it empty to use the standard digits for that base. Leading zero bytes are preserved.

Encode text in any base from 2 to 62 with your own alphabet, in your browser. BigInt arithmetic keeps large values exact.

How to use it

Custom Base Encoder: paste the text into the box above, set Base (default "16") and Alphabet (default blank), and press Run to get the encoded value below.

Why it runs in your browser

The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads text and returns encoded value; reloading the page discards both.

What to Expect

Best for

  • Converting text to encoded value when the data is already on screen.

What this tool keeps

  • Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere.

Sample input

Hello

Sample output

48656c6c6f

Frequently asked questions

How do I use the custom base encoder?

Custom Base Encoder: paste the text into the box above, set Base (default "16") and Alphabet (default blank), and press Run to get the encoded value below.

Is my input uploaded?

No. The text is parsed on this page with JavaScript and is never posted to a server.

Is there a size limit?

Yes: 5 MB per run. Larger input is refused with a message rather than freezing the tab.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.