Base64URL Encoder and Decoder

Encode UTF-8 text in URL-safe Base64 without padding, or decode padded and unpadded Base64URL.

Workspace

Result

Your result will appear here.

How to use it

  1. Fill in utf-8 text or base64url, direction.
  2. Select “Run tool” to see the result.

Worked example

Input
Hi
Output
SGk

Frequently asked questions

What’s the difference between Base64URL and Base64?

Base64URL uses hyphens and underscores in place of plus and slash. Many protocols omit the trailing padding.

References