Valn Tools

Base64 Encode & Decode

Encode text to Base64 or decode Base64 to text, with full UTF-8 and URL-safe support. Runs in your browser.

Runs in your browser
1 line · 21 bytes

How to use

Choose Encode to turn text into Base64, or Decode to turn Base64 back into text. The result updates as you type. Text is encoded as UTF-8, so emoji and non-Latin scripts round-trip correctly.

What is URL-safe Base64?

Standard Base64 uses + and /, which have special meaning in URLs. The URL-safe variant (RFC 4648 §5) replaces them with - and _ and drops the = padding. It is used in JWTs and many web APIs. Decoding accepts both variants, with or without padding.

Is my data safe?

Yes. Encoding and decoding run in your browser. Nothing you paste is sent to a server.