Base64 URL Encoder Decoder

Encode text to Base64URL or standard Base64, and decode Base64URL strings back to UTF-8 text locally in your browser.

Base64URL encoderBase64URL decoderBase64 encoderURL safe Base64
Mode

Text is processed locally in your browser and is not uploaded to a server. Do not paste passwords, private keys, or sensitive tokens into pages you do not trust.

Back to tool

About this tool

Encode text to Base64URL or standard Base64, and decode Base64URL strings back to UTF-8 text locally in your browser.

Your text is encoded and decoded locally in your browser and is not uploaded to a server.

Reminder

Base64 and Base64URL are encoding formats, not encryption. Do not paste passwords, private keys, access tokens, or other sensitive data into pages you do not trust.

How to use it

  1. Choose encode or decode.
  2. Select Base64URL or standard Base64.
  3. Enter text or an encoded string, then copy the result.

Common use cases

  • Encode short text for URL-safe values
  • Decode Base64URL examples while debugging
  • Compare standard Base64 and Base64URL output

Base64URL Versus Standard Base64

Base64URL is a URL-safe variant of Base64. It is useful in web contexts where +, /, or = padding can be inconvenient in URLs or tokens.

FormatCharactersCommon use
Base64+, /, and optional = paddingGeneral binary-to-text encoding
Base64URL- and _ instead of + and /URL-safe strings and web tokens
NeitherNo secrecy by itselfEncoding is reversible and not encryption

FAQ

What is the difference between Base64 and Base64URL?

Base64URL uses URL-safe characters, replacing + and / with - and _, and often omits padding.

Is Base64 encryption?

No. It is reversible encoding and should not be used to protect secrets.

Is my text uploaded?

No. Encoding and decoding run locally in your browser.