Base62 encoder.
Type text or drop a file and read its Base62 as you type: every letter and digit, no symbols, nothing to escape. Everything runs in your browser.
Base62 encoder.
Need the UI around it? With Pro, your AI agent builds the form, the result card and the rest of the page from a prompt.
Get ProHow it works
3 steps, no account. It runs in your browser and nothing is uploaded.
Enter text or a file
Type or paste anything, or drop a file onto the input; the Base62 updates with every keystroke.
Read the status
The status line says how many bytes became how many characters, and by how much the text grew.
Copy, download or swap
Copy the Base62, download it as a text file, or press Swap to decode it back.
Where Base62 is used
All the letters and digits and no symbols: the alphabet of short URLs. Where Base62 does its work.
URL shorteners
A shortener turns a link's row id into six or seven Base62 characters: the slug in `bit.ly/3xYz9Ab`.
Short unique ids
A 64-bit id fits in eleven Base62 characters, a 128-bit one in 22, with nothing a URL or a form could break.
Invite codes
Invite codes and referral links read as a run of letters and digits, long enough to be hard to guess.
Tokens and keys
An API key is random bytes written as Base62, so it pastes into a header, a shell or a config file untouched.
Video ids
YouTube's eleven-character video ids are base64url, a cousin with - and _; many clones use Base62 for the same length.
Upload names
A random file name that must be safe on every file system and in every URL.
Related tools
More encoders and decoders. Every one free, in the browser.
Pricing
Build it with Pro
The tool is free. Pro adds 6,000+ blocks, premium templates and the MCP server, so your AI editor builds the product around it.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
Questions and answers
Before you trust the result: what to know about the format, the limits, your data and the tools next to it.
Base62 writes a number with all 62 letters and digits, 0 to 9, A to Z then a to z, and no symbols. It is the densest alphabet that needs no escaping anywhere: not in a URL, a file name, a JSON string or a shell. The tool treats the input bytes as one big number and writes that.
The bytes are read as one integer, big end first, and written in base 62 by repeated division. Each character carries about 5.95 bits, so the output is about 34% larger than the input, close to Base64. Leading zero bytes are kept as leading 0 characters. There is no padding.
URL shorteners (bit.ly's slugs), short unique ids, invite and referral codes, session and API tokens, and anywhere a 64-bit id has to become an 11-character string that fits a URL untouched.
Yes: letters and digits only, nothing to escape.
Nearly as short as Base64 with none of its symbols, which is why web ids use it; but case-sensitive, so a person transcribing it can slip, and converted as one number, so it is slow on anything big. Base58 drops the look-alike characters for the same job; Base36 drops case; Base64 streams.
No. Base62 is an encoding, not encryption: it changes how bytes are written, not who can read them, and anyone can decode it with no key. Encrypt first (AES, age, a library's sealed box) when the content needs protecting, then encode the ciphertext if it has to travel as text.
Type or paste into the input and the Base62 appears as you type: "Hello" becomes 5TP3P3v. Text is encoded as UTF-8 bytes, so accents and emoji come out the same as in every language's standard library. Copy the result, download it as a text file, or press Swap to decode it back.
Drop a file onto the input or choose one with the button, and its bytes are encoded directly, not as text. Base62 treats the whole input as one number, so the tool takes up to 512 KB at once; past that the conversion would stall the page.
Nothing leaves your browser. The text or file is read into memory on your machine and the encoding is computed there, in plain JavaScript; the page makes no request with it. Load the page, go offline and it keeps working.
No. The Base62 encoder is free and opens without a sign-in, an account or an install.
Nothing. The Base62 encoder holds your input in the page's memory, so closing or reloading the tab clears it, and it saves nothing in this browser.
None: Base62 has a single alphabet, so the encoder has no choices to make.
Base62 output is about 1.34 characters per byte, and the status line under the result shows the bytes in, the characters out and the percentage. Base62 treats the input as one number, so the tool takes up to 512 KB at once.
The text is encoded as UTF-8 bytes first, so accented letters, other scripts and emoji round-trip through the decoder unchanged. Each of those characters takes more than one byte, which makes the output longer than the character count suggests.
Press Swap once there is a result and the same tool becomes the Base62 decoder, with the output moved into the input. The decoder shows the original text again.
Closest to the Base62 encoder: Base62 decoder, File to Base62, Base62 to file, Base58 encoder. Each opens on its own page, free and in the browser.
The Base62 encoder is one of 32 in its group. The group's page, /tools/encoding, lists them all.
The tool is free. Its interface is built from shadcn.io's own components (Button, Input, Slider and the rest of the registry under /ui), which come in React, Vue, Svelte and Solid. Pro adds the blocks and templates for the product around it.
4.9 out of 5 from 150+ developers
Build the product around it
Every block, template and icon, installed by your AI agent in your theme. The tools stay free.
Get Pro




