Base64
Encode and decode Base64 locally. UTF-8 safe, URL-safe, optional wrapping.
About this Base64 tool
Fast - local - privacy-first
Encode and decode Base64 safely in your browser for API debugging, data transport, and quick conversions.
Supports UTF-8 text, URL-safe Base64, optional padding, and automatic cleanup of whitespace for pasted strings.
Use wrapping options to format output for emails, PEM-like blocks, or systems that expect fixed line lengths.
- Standard and URL-safe Base64 modes
- Optional padding and whitespace removal
- Line wrapping (32/64/76) for readability
- Everything runs locally - no uploads
Settings
Mode and formatting
Text
Base64
Mode
Wrap
Options
Chars: 0
-
Base64: 0
Ctrl+Enter - encode, Ctrl+Shift+Enter - decode
FAQ
Common questions
Is Base64 encryption?
No. Base64 is encoding, not encryption. It does not protect data - it only changes representation.
Do you upload my text anywhere?
No. Encoding and decoding happen locally in your browser. Your input is not sent to a server.
What is URL-safe Base64?
It replaces '+' and '/' with '-' and '_' and usually removes '=' padding, making the string safer for URLs and filenames.
Does this tool work offline?
Yes. After the first load, the page can work offline thanks to browser caching.
Notes
How it works
Base64 is encoding, not encryption. This tool works locally in your browser.
About
Service Overview
Base64 encoder and decoder that runs fully in your browser. Convert text to Base64 and back with UTF-8 support, URL-safe mode, and optional line wrapping. No uploads, no backend.
Related tools
You may also find these tools useful