Base64 Encoder / Decoder
Convert strings, JSON payloads, and domain verification tokens to and from Base64 with validation, URL-safe cleanup, and optional line wrapping.
What is the Base64 Encoder / Decoder?
It is a browser-first utility that converts readable strings into Base64, normalizes URL-safe characters, and decodes payloads with validation so you can inspect data without leaving the tab.
Key Features
How to Use
Paste text, JSON, or domain verification tokens (remove surrounding quotes from DNS records) into the input field.
Choose Encode to convert plain text into Base64, or Decode to turn Base64 payloads back into readable text.
Enable Wrap lines if you need RFC 2045–style 76-character rows for PEM files, DNS TXT records, or email attachments.
Click Run Tool, review the status message, and copy the Encoded or Decoded output as needed.
Common Mistakes to Avoid
Examples
FAQ
Does the tool support URL-safe Base64?
Yes. It automatically swaps '-' and '_' when decoding and outputs clean, padded Base64 you can reuse anywhere.
Is any of my data uploaded?
No. Encoding and decoding happen entirely in your browser, so secrets, domains, and API keys never leave your device.
How large can my Base64 payload be?
Most browsers handle a few megabytes comfortably. For very large binaries, split the data or switch to the Base64 Image Encoder.