Base64, URL and JWT
Encode and decode both ways, and split a JWT into its parts.
- Category
- For developers
- Price
- free
The tool starts in your browser.
Everything is calculated in your browser. Nothing you type is sent to our server.
How to use it in three steps
The tool as a schematic with this page's example. Each step's number stands where you take it: in the fields, at the result or outside the tool.
Choose Base64, URL or JWT.
Paste the text to encode or decode.
Copy the result or read the JWT parts.
Seven strings through Base64 both ways
Base64 writes every three bytes as four characters and fills missing bytes with = signs. Text goes through UTF-8 first, which is why Polish letters give a longer result. When decoding, the tool adds missing padding itself.
encode: VulCodethe example from the tool's descriptionencode: fone byte, two padding signsencode: fotwo bytes, one padding signencode: foobarsix bytes, no paddingencode: zażółćPolish letters, two UTF-8 bytes eachdecode: emHFvMOzxYLEhwwithout padding, Polish lettersdecode: Pz8_the URL form: _ instead of /7 of 7 cases as expected
Questions
Related tools
The tool does one job. If the same thing should happen automatically in your bot, server or system, we build it.
Missing a tool you need?
Tell us what you want to calculate or generate. We will tell you whether a tool is enough or an integration in your system fits better.