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

Dot Product of Two Vectors

Multiply two vectors element by element and add the results: the core operation of every neuron.

You'll learn VectorsDot product
Neural networksaimachine learning
Easy

Distance Between Points

Compute the straight-line distance between two points.

You'll learn Pythagorean theoremSquare roots
BeginnerFunctionsLearning-pathmath
Easy

Count Pairs With a Sum

Count pairs of positions whose values add up to a target.

You'll learn Pairs of indexesAvoiding double counts
ArraysBeginnerLearning-pathNested-loops
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
Easy

Join Customers and Orders

Join customers with their orders like a LINQ Join and report each customer's total spend.

You'll learn LINQ JoinGrouping
ArraysSorting
No solutions yet
Easy

To-Do List

Keep a list of tasks: add them, mark them done, remove them and report what is still pending.

You'll learn Typed collectionsRecords
BeginnerSimulationStrings
No solutions yet
Easy

Linked List Operations

Simulate a linked list: add at either end, remove from the front or by value, and reverse it.

You'll learn Linked listsSimulation
Data-structuresSimulation
No solutions yet
Easy

Sum a Flat JSON Object

Parse a flat JSON object whose values are integers and add up the values.

You'll learn JSON parsingString splitting
ParsingStrings
No solutions yet
Easy

WhenAll Total Time

Find how long a program takes when each group of tasks runs together with Task.WhenAll and groups run one after another.

You'll learn Async/awaitTask.WhenAll
ArraysBeginner
No solutions yet
Medium

Parallel Task Completion Order

Run tasks concurrently with at most k at a time and report the order in which they finish.

You'll learn ConcurrencyPriority queues
SimulationSorting
No solutions yet
Medium

Min Stack

Build a stack that reports its smallest element instantly after any push or pop.

You'll learn StacksRunning minimum
Data-structuresStacks
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==