Base64 Encoder/Decoder

Encode text to Base64 or decode back. Remember: Base64 is not encryption.

{{ base64.message }}

Overview

Base64 represents bytes as ASCII-safe text for transport (tokens, payloads, attachments). Use this tool to inspect content quickly.

Technical deep dive

Common questions summarized

  • Does Base64 protect sensitive data?: No. Anyone can decode Base64. Use proper encryption for secrets.
  • What is this tool for?: It runs fully in your browser: useful to validate, format, or convert data in everyday development.
  • Are my inputs sent to a server?: Processing happens locally with JavaScript. We do not store what you paste into the text areas.
  • Can I use this for real production data?: Use at your own risk. For secrets (passwords, tokens), prefer controlled environments and your company policies. And always review the generated contents. Never trust blindly things you see on the internet.

Sample payload to try

  • See also the larger "Code Snippets" sample; paste this excerpt to try locally: Text and Base64 — Texto: olá Base64: b2zDoQ==

Tool guide

  • What Base64 is An encoding that represents arbitrary bytes with 64 printable ASCII characters. Size grows (~33%), but binary can travel inside JSON, XML, email, and URLs.

  • What the tool does Encodes text (as UTF-8) to Base64 or decodes Base64 to text.

  • Why use it Inspect tokens, small attachments in data URLs, debug payloads. Not encryption: anyone can decode.

Code Snippets

Code example
Texto: olá
Base64: b2zDoQ==

Text and Base64

Texto: olá
Base64: b2zDoQ==

FAQ

Does Base64 protect sensitive data?

No. Anyone can decode Base64. Use proper encryption for secrets.

What is this tool for?

It runs fully in your browser: useful to validate, format, or convert data in everyday development.

Are my inputs sent to a server?

Processing happens locally with JavaScript. We do not store what you paste into the text areas.

Can I use this for real production data?

Use at your own risk. For secrets (passwords, tokens), prefer controlled environments and your company policies. And always review the generated contents. Never trust blindly things you see on the internet.