Related developer tools
- Online JWT Generator (HS256) — Create & Sign Tokens
- XML Tools Plugin for Notepad++ (Online Alternative): Format, Minify, Validate, XPath
- Online Hash Generator Bcrypt
- URL Encode Checker — Encode, Decode & Validate Percent-Encoding
- YAML Tools - Convert, Validate, and Format YAML
- Online XML Generator from XSD (Schema)
- Online Hash Converter (MD5, SHA-1, SHA-256, SHA-512) + Hex/Base64
- Online Regex Generator (Python) — Build Patterns From Examples
How to use
Choose what you want to do (encode or decode), paste your input, then convert.
- Select Encode → Base64 or Decode → Text.
- Paste your value into the input box.
- Click Convert (or enable auto-convert).
- Use Copy Output to copy the result.
FAQ
Does this tool support UTF‑8 (emoji, accents, non‑Latin text)?
Yes. Encoding and decoding are done using UTF‑8, so non‑ASCII characters work correctly.
What is Base64URL and can I decode it here?
Base64URL is the URL-safe variant used by JWTs ("-" and "_"). This tool accepts Base64URL input and fixes missing padding automatically.
Why does my Base64 sometimes end with one or two '=' characters?
Those are padding characters to make the length a multiple of 4. They can often be removed for Base64URL, but standard Base64 typically keeps them.
Is my data sent to a server?
No. Conversions run locally in your browser; the JavaScript does not make network requests.
Why do I get an “Invalid Base64 length” or “decoding failed” error?
The input likely contains illegal characters or has a length that can’t be valid Base64 (length mod 4 = 1). Remove extra characters or paste the full value.
Can I decode a JWT payload with this?
Yes. Paste the middle JWT segment (payload) and decode; it’s Base64URL JSON.
Does it ignore whitespace and line breaks in Base64 strings?
Yes. Spaces and newlines are removed before decoding.