Developer utilities

Base64URL encoder & decoder

URL-safe encoding for text, files and token segments. Processed locally in your browser.

Browser-based processingNo uploads or saved history
Only in your browser
Which should I use?

URL-safe alphabet (- _), with padding when needed. Padding is a separate protocol choice; select JWT segment for unpadded input and output.

RFC 4648 §5
0 B · UTF-8
0 B
Advanced settings URL-safe · padded · no wrapping

Changing a rule selects Custom. PEM fixes the alphabet, padding and line width; you can choose its line ending.

Ready. Your data stays in this browser.

UTF-8 text · files up to 10 MiB
No uploadsNo tracking scriptsNo saved historyNo advertising
Technical overview

URL-safe encoding

Base64URL replaces the standard + and / characters with - and _, making encoded bytes easier to use in URLs and filenames. The URL-safe preset includes padding when needed. Choose JWT segment for the unpadded JWS convention.

JWT segments use Base64URL without padding. Decode one segment at a time. Decoding a token does not verify its signature or prove that it can be trusted.

Guides & reference

All guides

Frequently asked questions

Is my input sent to a server?

No. This application converts in browser memory and does not transmit or save your input. The hosting provider receives ordinary page-request metadata when serving the website. Copying and downloading place data on your device. Read the full privacy explanation.

Does this work with emoji, other languages, and files?

Yes. Text is encoded as UTF-8, including emoji and non-Latin scripts. Files use their original bytes. Raw data is limited to 10 MiB; encoded input can be up to 20 MiB. Binary output can be downloaded without opening or executing it.

Can I use it offline?

After the converter and its scripts load, you can keep converting in the open tab without a connection. Reloading offline is not guaranteed. You can also run the command-line examples or self-host the source.

Is Base64 a way to encrypt data?

No. Base64 is reversible encoding with no secret key. Anyone can decode it. Use appropriate encryption and access controls for confidential data.

Are there keyboard shortcuts?

Use Ctrl + Enter (Command + Enter on macOS) to convert. Press Escape while focused inside the converter to clear input and output. Every control works with the keyboard.