Base64 Encoder / Decoder

Base64 turns text or data into a string of letters, numbers, + and /, and is common in email and web development. Unicode text such as emoji or non-Latin scripts is handled as UTF-8 so it does not break.

How to use

  1. Put text or a Base64 string in the top box.
  2. Click Encode or Decode.
  3. Copy the result from the bottom box.

Good for

  • Creating values for API testing
  • Reading Base64 values in config files
  • Passing small bits of data

What is Base64?

It turns binary data or any text into just 64 characters (A–Z, a–z, 0–9, + and /) plus = for padding. It is used to put data where only plain text is allowed, such as email attachments, JSON and parts of URLs.

OriginalBase64
helloaGVsbG8=
AQQ==
caféY2Fmw6k=

Good to know

  • It is not encryption. Anyone can decode it instantly, so never use it to hide passwords or personal data.
  • Encoded text is about 33% longer, because every 3 bytes become 4 characters.
  • Text is encoded as UTF-8, so results match other UTF-8 Base64 tools.
  • The URL-safe variant (- instead of +, _ instead of /) will not decode. Replace - with + and _ with / first.

FAQ

Is Base64 encryption?
No. Anyone can reverse it, so never use it to hide passwords or sensitive data.
Why does decoding fail?
The input is not valid Base64 or is cut off. Remove extra spaces and line breaks and try again.
Decoding failed.
The input has characters Base64 does not use, the trailing = signs are off, or the original data was a file such as an image rather than text.
Can it encode image files?
Text only for now.

Last updated: November 20, 2026

Efficient Free Web Tools for Daily Productivity

Daily Tools Pro is an all-in-one online utility platform designed to simplify your digital life. Why install multiple apps when you can access essential tools like the Word Counter, QR Generator, and Metronome directly from your browser?

We take Privacy & Security seriously. All calculations and text processing happen locally in your browser. This means your sensitive data never reaches our servers, keeping your information secure.

More tools

Word & Character CounterCount characters with and without spaces as you typeText Case ConverterTurn any English phrase into camelCase, snake_case, PascalCase or UPPER_CASE instantlyLine Break RemoverRemove unwanted line breaks from text copied out of PDFs or papers and join it into one clean lineText ReverserReverse the order of characters in any textMorse Code TranslatorConvert English letters and numbers into Morse code dots and dashesPercentage CalculatorFind what X% of a number is in one clickSplit Bill CalculatorDivide a total bill evenly and see how much each person owesCM to Inches ConverterConvert centimeters and inches both ways in real timeRandom Number PickerPick a random whole number in any rangeBMI CalculatorCalculate your Body Mass Index from height and weightAge CalculatorCalculate your exact age in years from your date of birth, as of todayCountdown CalculatorSee how many days are left until a date (D-) or have passed since one (D+)Lucky Numbers GeneratorGenerate 6 random, non-repeating numbers from 1 to 45Auto-Saving NotepadA free online notepad that saves to your browser as you typeQR Code GeneratorTurn a link or text into a QR code and download it as an imageOnline TimerA free countdown timer in minutes and secondsOnline StopwatchA free online stopwatch in hours, minutes and secondsPassword GeneratorCreate strong random passwords from 8 to 32 characters using your browser's cryptographic random generatorUnix Timestamp ConverterSee the current Unix timestamp and convert any timestamp into a readable date and timeBase64 Encoder & DecoderEncode text to Base64 or decode Base64 back to textHEX to RGB Color ConverterPick a color and get its HEX code and RGB values instantlyOnline MetronomeA free online metronome from 40 to 220 BPM with sound