Base64 Encode / Decode
Encode and decode Base64 text with UTF-8 support, URL-safe output, optional padding, and wrapped lines for config files.
Options
Browser Only
Text is encoded or decoded locally with browser APIs. No API route is required.
URL-safe Tokens
Toggle URL-safe mode for JWT segments, web tokens, and filename-safe encoded values.
Config Friendly
Add padding or line wrapping depending on the parser, manifest, or shell command you are targeting.
Base64 Encode / Decode Guide
What Base64 is for
Base64 represents binary or UTF-8 text using ASCII characters. It is commonly used in JSON payloads, Kubernetes manifests, HTTP headers, tokens, certificates, and configuration values.
Standard vs URL-safe Base64
Standard Base64 uses + and / characters. URL-safe Base64 replaces them with - and _, which is easier to use in URLs, filenames, and token segments.
Padding and line wrapping
Padding with = characters is part of standard Base64, but some token formats omit it. Line wrapping can help with config files, while compact output is usually better for headers and environment variables.
Privacy
This tool runs entirely in the browser. Base64 is encoding, not encryption, so anyone with the encoded value can decode it.