ToolNest
100% Free

Base64 Encoder/Decoder

Encode or decode text using Base64 encoding.

Input Data

Result

Tool options

Base64 Options

Base64 Encode

Base64 Decode

What is Base64?

Base64 turns arbitrary data into a string of letters, digits and plus and slash signs — the format behind data URLs, HTTP basic auth headers, JWT payload segments and countless API fields that demand ASCII-safe text. This tool encodes plain text to Base64 and decodes Base64 back to text, both directions from the same input box.

The common gotcha it handles for you: Unicode. Naive Base64 implementations choke on anything beyond ASCII, but this tool encodes as UTF-8 first, so emoji, accented characters and CJK text survive a round trip intact. Decode a JWT's payload segment, inspect what a data URL actually contains, or produce a token for a system that wants credentials Base64-wrapped — paste, and the conversion is immediate.

Keep the purpose in mind: Base64 is an encoding, not encryption. Anyone can decode it instantly, so never treat it as a way to protect passwords or secrets; it exists to move binary data through channels that only tolerate text.

Everything runs locally in your browser — the text is processed by your own tab and never sent to a server, so it is fine to experiment with tokens, session data or API responses you would not paste into an unknown website.


Base64 Encoder/Decoder Examples

Click to try!

Encode data in UTF-8 with Base64

This example shows how to encode a simple text using Base64.

Base64 Options

Base64 Encode

Base64 Decode

Decode Base64-encoded data to UTF-8

This example shows how to decode data that was encoded with Base64.

Base64 Options

Base64 Encode

Base64 Decode


All Text Tools

Remove duplicate lines

Quickly delete all repeated lines from text

Text Statistics

Get statistics about your text

Password Generator

Generate secure random passwords with custom options

String URL encoder

Quickly URL-escape a string.

String URL decoder

Quickly URL-unescape a string.

Hidden Character Detector

Find hidden Unicode characters in text

Email Extractor

Extract email addresses from text

Compare Texts

Compare two texts and spot differences instantly

Slug Generator

Generate URL-friendly slugs from text.

You May Also Like

Resize Image

Resize one or multiple images at once.

Compress Images

Compress one or multiple images at once.

Split PDF

Extract specific pages from a PDF file

Rotate PDF

Rotate pages in a PDF document

Trim Video

Trim video by removing unwanted sections

Compress Video

Compress videos by scaling to different resolutions

We use cookies

We use cookies for analytics and advertising. You choose what's enabled. Essential cookies are always on. Privacy Policy