Skip to main content

Base62 Encoder and Decoder for Short URLs

Turn big integers and UTF-8 text into compact 0-9A-Za-z strings, the way short-URL services pack an ID into 6 characters, all in your browser

  • Runs locally
  • Category Encoding & Crypto
  • Best for Checking small payloads, tokens, hashes, and encoded values quickly.

Integer ⇄ base62 (short-link IDs). 125 = "21", 61 = "z", 62 = "10".

Input
Examples
Output
Alphabet (0-9 A-Z a-z)
0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz

What this tool does

A Base62 encoder and decoder built for the people who actually use it: engineers shortening URLs, packing database row IDs into tweet-sized slugs, and shrinking opaque tokens. Base62 uses the 62 characters that every system treats as safe in a URL path: digits 0-9, uppercase A-Z and lowercase a-z. No plus, slash or equals sign means no percent-encoding, no padding, and nothing that breaks when a link gets copied through a chat app. Two modes cover both common needs. Number mode maps a base-10 integer to its base62 form and back, so 125 becomes "21" and a 64-bit ID collapses to about 11 characters. Text mode reads your input as UTF-8 bytes, treats those bytes as one large integer, and encodes that, which round-trips any string including Chinese, emoji and accented Latin. BigInt under the hood means there is no overflow at 2^53. Everything runs locally with one-click copy and a shareable link, and nothing you type is sent anywhere.

Tool details

Input
Text + Numbers
The page exposes text boxes, numeric controls, file pickers, or structured inputs depending on the tool.
Output
Live result + Copy
The result area focuses on usable output, with copy, download, or preview actions when supported.
Privacy
Browser-side processing
The main tool logic does not call an external API, so inputs normally stay in the current tab.
Save / share
Shareable URL state
Key settings are encoded in the URL so another person can reopen the same setup.
Performance budget
Initial JS <= 9 KB
No WASM budget is declared, keeping the tool quick to open on mobile.
Best fit
Encoding & Crypto · Developer
Category and role tags drive related tools, internal links, and quick fit checks.

How to use

  1. 1. Input

    Paste or drop your content into the tool panel.

  2. 2. Process

    Click the button. All processing is local in your browser.

  3. 3. Copy / Download

    Copy the result or download to disk in one click.

How Base62 Encoder & Decoder fits into your work

Use it for quick browser-side encoding, decoding, hashing, token checks, and share-safe transformations.

Encoding jobs

  • Checking small payloads, tokens, hashes, and encoded values quickly.
  • Preparing values for APIs, URLs, docs, or support tickets.
  • Avoiding account-based tools when the input might be sensitive.

Encoding checks

  • Do not paste live secrets unless you are comfortable with local browser handling.
  • Confirm whether the operation is reversible before sharing the result.
  • For hashes, compare the exact algorithm and casing expected by the receiver.

Good next steps

These links move the current task into a more complete workflow.

  1. 1 Unit Converter Convert between length, weight, temperature, area, volume, speed, time — instant, browser-only Open
  2. 2 Percentage Calculator 5 common percentage calculations — "x% of y", "x is what% of y", percentage change, increase/decrease — instant, browser-only Open
  3. 3 Base32 / Base58 Encoder & Decoder Base32 + Base58 encoder/decoder — RFC 4648 base32 (Crockford variant too), Bitcoin base58, Solana base58, hex/text/file input. Open

FAQ

Tool combos

Folks in your role tend to reach for these alongside this tool.

Made by Toolora · 100% client-side · Updated 2026-05-29