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
Easy

Average of Three

Average three whole numbers.

You'll learn ArithmeticDivision
BeginnerLearning-pathVariables
Easy

Rectangle Perimeter

Compute the perimeter of a rectangle from its sides.

You'll learn ArithmeticReturn values
BeginnerLearning-pathVariables
Medium

One Generation of a Genetic Algorithm

Breed the next generation of bit strings with tournament selection, single-point crossover and mutation.

You'll learn Genetic algorithmsEvolutionary search
OptimizationSimulationai
No solutions yet
Easy

Epsilon-Greedy Multi-Armed Bandit

Balance exploration and exploitation on a multi-armed bandit with epsilon-greedy action selection.

You'll learn Explore vs exploitBandits
Reinforcement learningaimachine learning
No solutions yet
Easy

Markov Chain State Distribution

Propagate a probability distribution through a Markov chain's transition matrix for a number of steps.

You'll learn Markov chainsProbability
Simulationaimath
No solutions yet
Medium

Value Iteration

Compute how valuable each state of a Markov decision process is by repeatedly applying the Bellman optimality update.

You'll learn Bellman equationMDPs
Reinforcement learningaimachine learning
No solutions yet
Medium

Q-Learning Updates

Apply the Q-learning update to a stream of experiences and watch rewards flow back to earlier states.

You'll learn Q-learningDiscounted rewards
Reinforcement learningaimachine learning
No solutions yet
Medium

Alpha-Beta Pruning

Evaluate a game tree with minimax and alpha-beta pruning, and count how many leaves the search really looks at.

You'll learn Alpha-beta pruningGame search
RecursionTreesai
No solutions yet
Medium

Minimax Tic-Tac-Toe

Pick the perfect tic-tac-toe move by searching the whole game tree with minimax.

You'll learn MinimaxGame trees
Recursionai
No solutions yet
Medium

A* Search on a Weighted Grid

Find the cheapest path across a grid of terrain costs with A*, the search algorithm behind game and robot pathfinding.

You'll learn A* searchHeuristics
GraphsGridsShortest-pathai
No solutions yet
Medium

Temperature and Top-K Sampling

Choose the next token like a language model does: keep the top k logits, apply temperature, and sample.

You'll learn Text generationSampling
aimachine learning
No solutions yet
Hard

Multi-Head Self-Attention

Project the input into queries, keys and values, run attention in several heads in parallel, and combine them.

You'll learn Multi-head attentionMatrix projections
aimachine learning
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==