How to use Base64URL Encoder and Decoder
- Paste or type your text into the box. If you just want to see how Base64URL Encoder and Decoder behaves, press Load example.
- Look at the option above the boxes (Direction). The defaults suit most jobs, so change them only if you need to.
- Your result appears on the right as you type. There is no convert button to hunt for.
- Click Copy result to paste it somewhere else, or Download to save it as a text file. Use result as input lets you run a second conversion on the output.
What is it good for?
Encode or decode URL-safe Base64, the variant used inside JWTs. It saves you the tedious retyping that comes with doing this by hand.
It works on whatever you paste, line by line where that makes sense, and it handles non-English text properly, because it works with Unicode and not just plain English letters. People most often reach for it when debugging an API response that came back as one unreadable line, preparing config files and test data and checking what a token or encoded value really contains.
See it in action
Here is a quick example so you can see what to expect.
Tips for better results
For a repeated job, keep the tool open in a tab. You can paste a new text over the old one and the output refreshes straight away.
If the result is not what you expected, look at the options above the box. A single setting, such as case sensitivity or the separator, often explains it.
Line breaks are preserved unless the tool is meant to change them. If your text came from Windows, a Mac or Linux, the different line endings are handled the same way.
Privacy
Everything you paste is processed by JavaScript in your own browser. It is not uploaded, logged or stored on our servers, so it is fine for private lists and drafts.
Read the guide
Want the background? What Is Base64 and When Should You Use It? explains it in plain language.
Frequently asked questions
Is Base64URL Encoder and Decoder free to use?
Yes, completely free. There is no sign-up, no watermark and no limit on how many times you use it.
Is my data safe when I use Base64URL Encoder and Decoder?
Your text is processed in your browser by JavaScript. It is not sent to our servers, so it stays private.
Does Base64URL Encoder and Decoder work on my phone?
Yes. The layout adapts to small screens, and the tool works in current versions of Chrome, Edge, Firefox and Safari.
Any tips for using Base64URL Encoder and Decoder?
Base64URL swaps + and / for - and _ and drops the = padding so it is safe in URLs.