Encoder & Decoder
Encode and decode Base64, URLs and HTML, see text as hex or Unicode, read a JWT and its expiry, or get a file's checksum - without pasting anything into someone else's server.
- 1Select
- 2Configure
- 3Process
- 4Download
Your text, files and tokens are processed in your browser and never uploaded.
Accepts Text, files, tokensPaste text, or open a file up to 25 MB for Base64 and 500 MB for hashesResult
Everything happens in your browser - nothing you paste or open is sent anywhere.
Jobs it handles
Small conversions interrupt real work all day. These are the ones people reach for most often.
- Debug an API call. Decode a Base64 field from a response, unpick an over-encoded query string, or see why a URL breaks when it holds an ampersand.
- Check a login problem. Paste a JWT to read its claims, see exactly when it expired, and confirm the signature with your secret or public key.
- Verify a download. Hash the file and paste the publisher's SHA-256 to see at once whether it matches.
- Find a hidden character. Hex & Unicode lists every character with its code point, so a zero-width space or a no-break space can't hide.
Tips for clean results
Most encoding mistakes come from mixing up two similar formats.
- Standard or URL-safe Base64. JWTs and many URLs use - and _ instead of + and /. Decoding accepts both; when encoding, pick URL-safe if the result goes into a link.
- Encode a part, not the whole URL. Use the part option for a single query value, so & and = inside it are encoded; use the whole-URL option only for a complete address.
- Mind the line endings. Text copied from Windows can end lines with CR LF instead of LF. Hex & Unicode shows them, and they change every hash.
- Don't confuse decoding with verifying. A decoded JWT shows what the token claims. Only a matching signature shows that it came from whoever holds the key.
How to use the Encoder & Decoder
- Choose a job: Base64, URL, HTML, Hex & Unicode, JWT or Hash.
- Pick the direction - encode or decode - and, where offered, whether you're working with text or a file.
- Paste or type your input; the result updates as you go, with a plain explanation if something can't be read.
- Copy the result or download it. Decoded Base64 files and images can be saved as files.
How your files stay private
The Encoder & Decoder runs entirely in your browser. Text, files, tokens, secrets and keys stay in your device's memory: Base64, URL and HTML conversions are plain JavaScript, and signatures and SHA hashes use the browser's built-in Web Crypto. The page can only connect to this site and to Google Analytics, which counts visits and never receives what you enter. Close the tab and it's gone.
Limits
- Base64 files up to 25 MB, and files up to 500 MB for hashes; very large files can be slow on older phones
- JWT signatures can be checked for HS, RS, PS and ES algorithms and EdDSA; encrypted tokens (JWE) can't be read
- Public keys must be a PEM public key or a JWK; for a certificate, paste the public key it contains
- Named HTML entities are decoded by your browser, so the list it knows is the one the HTML standard defines
Questions
Is it safe to paste a token or an API key here?
It doesn't leave your device: decoding, signature checks and hashing all happen in this page. Still, treat live production tokens with care anywhere, and prefer expired or test tokens when you only need to see the layout.
Is Base64 a kind of encryption?
No. Base64 only rewrites bytes as letters, digits and a few symbols so they survive email, URLs or JSON. Anyone can decode it, so it hides nothing.
Why does my hash differ from the one I expected?
A hash changes completely if a single byte changes. For text, check for a trailing space or line break and for Windows-style line endings; for files, make sure you compare the same algorithm, such as SHA-256 rather than MD5.
Can it turn a Base64 string back into an image or PDF?
Yes. Decode it: if the result isn't text, the tool recognises common types such as PNG, JPG, GIF, WebP, SVG, PDF and ZIP, shows images as a preview, and lets you download the file.
Which hashes does it make?
MD5, SHA-1, SHA-256, SHA-384, SHA-512 and CRC-32, all at once, in hex or Base64. Paste an expected checksum and the matching one is highlighted.
Other tools you might need
JSON Workbench
Format, validate, repair and compare JSON, convert it to YAML, CSV or XML, or to code.Timestamp Converter
Unix time to date and back, time zones, date differences, log timestamps and cron schedules.QR Code Generator
Make a QR code for a link, Wi-Fi, WhatsApp or a contact card - PNG or SVG.PDF to Word
Turn a text-based PDF into an editable Word document or plain text.