GameParticles

Base64 Encode / Decode

Developer

Convert any string to its Base64 representation or decode Base64 encoded data back to readable text.

Plain TextLn 1UTF-8
Base64Ln 1

Works great for

🖼️

Encoding images & fonts

Convert images or web fonts to Base64 data URIs so they can be inlined directly into CSS or HTML, eliminating extra network requests. Ideal for small icons and critical above-the-fold assets.

🔑

API authentication headers

Generate Base64-encoded Basic Auth credentials for HTTP Authorization headers in API testing workflows. Paste username:password, encode once, and drop the result straight into curl or Postman.

🪙

JWT payload debugging

Decode the header and payload segments of a JSON Web Token to inspect claims, expiry timestamps, and algorithm fields without installing any tooling. Spot misconfigured tokens during API integration.

📧

Email attachment encoding

MIME email attachments use Base64 encoding to safely transmit binary files as ASCII text. Encode a file's content here to manually construct or inspect MIME-formatted email bodies.

🔗

Inline data URIs for CSS

Encode SVG icons and small PNGs to Base64 for use as background-image data URIs in stylesheets, keeping design assets bundled and cache-friendly without separate image files.

🕵️

Debugging encoded payloads

Decode Base64 strings found in API responses, cookies, or config files to reveal the underlying JSON, XML, or binary content. A quick sanity check when tracing unexpected data in network logs.

base64 encodebase64 decodebase64 encoderbase64 decoderencode text to base64decode base64base64 converterbase64 stringdata uribasic auth encode

Frequently asked questions

How do I encode text to Base64 without installing software?

Type or paste your text into the input field and the Base64 encoded string appears instantly in the output field. Switch the mode toggle to decode a Base64 string back to plain text just as quickly.

Does Base64 encoding work with Unicode and special characters?

Yes, the encoder handles Unicode strings including accented letters, emoji, and non-Latin scripts, converting them correctly to and from Base64 rather than only supporting plain ASCII text.

Is my text sent anywhere when I encode or decode it?

No, Base64 encoding and decoding runs in your browser, so the text you paste never leaves your device. It is safe to use for quick checks on tokens, credentials, or snippets you would not want to upload.

Can I use this to decode a Base64 encoded image or data URI?

You can paste a Base64 string from a data URI to decode its contents, though this tool is built for text. For saving a Base64 string as a downloadable image file, use the Image Base64 decode tool instead.

JSON Formatter
Developer · Format, validate and minify JSON with syntax highlighting.
↵
Base64 Encode / Decode
Developer · Encode text to Base64 or decode Base64 back to plain text.
↵
URL Encoder / Decoder
Developer · Encode or decode URL components and query strings.
↵
Hash Generator
Developer · Generate MD5, SHA-1, SHA-256 and SHA-512 hashes.
↵
UUID Generator
Developer · Generate UUIDs v4 (random) in bulk with one click.
↵
Regex Tester
Developer · Test regular expressions against text with live match highlighting.
↵
Word Counter
Text · Count words, characters, sentences, paragraphs and reading time.
↵
Case Converter
Text · Convert text between UPPER, lower, Title, camelCase, snake_case and more.
↵
List Sorter
Text · Sort, reverse, deduplicate and shuffle lists of text.
↵
Markdown Preview
Text · Write Markdown and see a live rendered preview side by side.
↵
Percentage Calculator
Numbers · Calculate percentages, increases, decreases and what % one number is of another.
↵
Color Converter
Colors · Convert colors between HEX, RGB, HSL and HSV instantly.
↵
Snake
Arcade · Eat food, grow longer, don't hit the walls. A timeless classic.
↵
2048
Puzzle · Slide tiles and combine them to reach the legendary 2048 tile.
↵
Word Grid
Puzzle · Guess the hidden five letter word in six tries using color clues.
↵
Sudoku
Puzzle · Fill the 9x9 grid with logic. Four difficulties from easy to expert.
↵
Minesweeper
Strategy · Use number clues to clear the minefield. Classic logic, three levels.
↵
Breakout
Arcade · Smash every brick with paddle and ball. Power-ups, combos, endless levels.
↵
Typing Practice
Casual · Build your WPM and accuracy with timed drills from 30 seconds to 5 minutes. Find your weak keys.
↵
TypeRunner
Arcade · Multiplayer typing race. Race friends by link, beat computer runners, or chase your own ghost.
↵
Typing Blocks
Arcade · Type each word before its wooden block lands. Miss, and the pile climbs toward the line.
↵
Bubble Shooter
Arcade · Aim, bank shots off the walls, and pop groups of three or more bubbles.
↵
Road Rush
Arcade · Race seven rivals through traffic and punch your way to the front.
↵