Secrets and encoding

How to encode text as Base64

A header, a basic-auth toy, or a data URL needs Base64. Encode it on Base64 Encode and Decode.

Base64 turns text into ASCII and back. It is not encryption, and a JWT signature stays unchecked.
Base64 turns text into ASCII and back, and it is not encryption.

What to run

Open Base64 Encode and Decode. It stays in the browser.

How to read the result

Output is ASCII.

Padding = is normal.

Unicode is included, so a round trip should match.

Base64 is not encryption.

What to open next

Open URL Encoder if the Base64 must sit in a query string. +, /, and = are unsafe there. It stays in the browser.