Base64 Encode/Decode

Encode/Decode a string using Base64 algorithm

Tags: base64 base64 encode/decode decoder encoder

🚀 189,908 total conversions (68 this month)

Practice Python with coding challenges

Solve hands-on problems right in this editor: run the sample tests, submit, and get an AI code review.

All Python challenges
Hard

Course Schedule Order

Order courses so every prerequisite comes first.

AdvancedGraphsHackathonTopological-sort
No solutions yet
Medium

Island Perimeter

Measure the coastline of land cells in a grid.

AdvancedGridsHackathon
No solutions yet
Medium

K-th Smallest Element

Find the k-th smallest value without fully sorting.

AdvancedCompetitive-programmingSorting
No solutions yet
Hard

Median of Two Sorted Arrays

Find the median of two sorted lists combined.

AdvancedBinary-searchCompetitive-programming
No solutions yet
Medium

Game of Life Step

Advance Conway's Game of Life by one generation.

AdvancedGridsHackathonSimulation
No solutions yet
Hard

Shortest Delivery Tour

Visit every city once and return home as cheaply as possible.

AdvancedBitmasksCompetitive-programmingDynamic-programming
No solutions yet
Hard

Strongly Connected Components

Count groups of nodes that can all reach each other.

AdvancedCompetitive-programmingGraphs
No solutions yet
Hard

Longest Path in a DAG

Find the heaviest path in a task dependency graph.

AdvancedGraphsHackathonTopological-sort
No solutions yet
Hard

Matrix Chain Multiplication

Find the cheapest order to multiply a chain of matrices.

AdvancedCompetitive-programmingDynamic-programming
No solutions yet
Hard

Minimum Window Substring

Find the shortest piece of text containing all required characters.

AdvancedCompetitive-programmingSliding-windowStrings
No solutions yet
Hard

Word Break

Decide whether text can be split into dictionary words.

AdvancedDynamic-programmingHackathonStrings
No solutions yet
Hard

Count Inversions

Count the out-of-order pairs in a list.

AdvancedCompetitive-programmingSorting
No solutions yet

Introduction

This online Base64 encoder tool makes it easy to convert strings to Base64 data. Whether you need to encode or decode, this tool simplifies the process and saves you time.

How to Use This Tool

Using the tool is straightforward! Just paste your string into the editor, then click the "Encode" or "Decode" button to process your data. It's that simple.

Once you're done encoding or decoding, you can download the result, save it, or share it with others using a short link. If you sign in with Google or GitHub, you can also save your results to your account for future use.

What is Base64?

Base64 is a way to encode binary data into text, making it easier to store and transfer. It works by converting binary data into a radix-64 representation, using an ASCII string format. The name "Base64" comes from a specific MIME content transfer encoding.

Base64 is commonly used in scenarios where binary data needs to be transmitted over systems designed for text, such as emails or XML documents. This ensures the data remains intact during transport. You’ll often see Base64 in applications like email attachments, web storage, and encoding complex data into XML or JSON.

Learn more

Examples

Before encoded

      
Hello, World!
      
    

After encoded

      
SGVsbG8sIFdvcmxkIQ==