← All Base64 tools
LOCAL CONVERSION · URL

Base64URL Encoder

Encode UTF-8 text with the URL-safe alphabet and no padding. Processed in your browser.

Unicode textURL-safe Base64

Uses - and _ instead of + and /, and omits trailing padding.

0 UTF-16 code units
Maximum pasted length: 24 MiB characters. Decoded files: 16 MiB. Oversized input is rejected when run.

URL-safe Base64

Run your source or load the labelled sample to explore the output. Input stays on this device.

How to use Base64URL Encoder

  1. Paste the source value into the input field.
  2. Run the tool and review its result or validation message.
  3. Download the complete result, or copy text output. Clear removes the result and releases its download.

Does this upload my data?

No. This tool runs in a browser worker. Input is not stored or sent to a server.

Does Base64 change a file format?

No. Encoding and decoding preserve bytes. A format-specific tool checks the signature, but does not transcode or guarantee that a file is intact. Some media may not play in your browser; the download still preserves the bytes. SVG and HTML are never rendered here.

Related tools

About Base64URL Encoder

Base64URL is a variant that is safe inside URLs and filenames. It replaces + with - and / with _, and leaves off the = padding. JSON Web Tokens, many OAuth flows and cloud APIs use it.

This tool encodes Unicode text as UTF-8 bytes in the URL-safe alphabet, ready to paste into a query string or token without further escaping.

Good for

  • Building parts of a JWT by hand for testing.
  • Putting an identifier into a URL path or query parameter.
  • Creating filenames from arbitrary text.

Questions

Why is there no padding?

Base64URL usually omits it, because = has a meaning in URLs. Decoders can work out the padding from the length.

Can standard decoders read it?

Not always. Convert - and _ back to + and /, and add padding, or use a Base64URL decoder.