Developer·Updated 2026-04-22

Base64, Hex & URL Encoder

Encode and decode Base64, Base64 URL-safe, Hex and URL in one tool.

Base64, Hex & URL Encoder

How it works

  1. 1.

    Pick a direction

    Pick encode (plain text → Base64/Hex/URL) or decode (Base64/Hex/URL → plain text). The tool detects your input direction automatically.

  2. 2.

    Choose a format

    Pick the format: standard Base64 for email and MIME, Base64 URL-safe for JWTs and query params, Hex for hash comparisons, or URL-encoding for query strings.

  3. 3.

    Paste your text

    Paste your text into the input box. The result appears instantly on the right and copies with one click. Zero server round-trip.

FAQ

Does it work with Unicode?+

Yes. We use TextEncoder for proper UTF-8 so emojis and non-ASCII characters encode cleanly.

What is Base64 URL-safe?+

Standard Base64 uses + and /. URL-safe replaces them with - and _ and drops padding — intended for JWTs and URLs.

Is my data sent anywhere?+

No. Everything runs in your browser. No server sees your input.

Related tools