Base64 Encoder / Decoder

Type (or paste) text on the left. Choose to encode it to Base64 or decode it back to readable text.

Browser extension

Keep RizCraft tools one click away

Open 24 built-in tools from your browser sidebar, use quick actions from the right-click menu, and reach every RizCraft tool without hunting through tabs.

Firefox and Edge versions are coming next. Free to install

Free Online Base64 Encoder & Decoder — Encode or Decode Base64 Instantly

Encode text as Base64 or decode a Base64 value back into readable text. The conversion runs locally in your browser. Base64 is an encoding format, not encryption or a hash.

What is Base64 encoding?

Base64 represents binary data with a limited set of ASCII characters. The standard alphabet uses uppercase and lowercase letters, digits, +, and /, with = used for padding when needed.

It is useful when binary data must travel through a text-oriented format, such as a data URI, MIME message, or JSON field. Encoding makes the representation portable; it does not make the contents secret.

Common Practical Use Cases for Developers

Common uses include:

  • Inline Data URIs: Instead of executing a separate HTTP request to download a tiny logo or background icon, frontend developers use Base64 to construct "pseudo-files" embedded directly into HTML `` tags or CSS `url()` properties. Simply convert your image into a safe Base64 text string, and paste it directly into your frontend code using the `data:image/png;base64,...` prefix.
  • JWT inspection: JSON Web Tokens use a URL-safe Base64 variant for their header and payload. Decoding those sections does not verify the token's signature.
  • HTTP Basic Authentication: Basic authentication encodes username:password with Base64. HTTPS is still required because the credentials are not encrypted by Base64.

How to Use the Online Base64 Converter

  1. Select Encode or Decode.
  2. Paste the source value into the input field.
  3. Optionally set a line length when the receiving format requires wrapped output.
  4. Select Convert, then copy the result.

Frequently Asked Questions

Is Base64 considered heavy encryption?
No. Base64 is reversible encoding. Anyone with the value can decode it. Use an appropriate, well-reviewed encryption method when confidentiality is required; hashing serves a different purpose and is not a substitute for encryption.
How much does Base64 increase the data size?
Base64 turns each three bytes of input into four encoded characters, so the encoded data is roughly one-third larger before line breaks or surrounding markup. Avoid embedding large files directly in HTML or CSS unless the tradeoff is understood.
Is my input sent to RizCraft?
No. Encoding and decoding run in your browser, and the input is not submitted to RizCraft. Avoid pasting active passwords, private keys, or access tokens into any unnecessary tool.