Base64 Encoder / Decoder
Convert plain text or images to Base64
Encode text into a Base64 string or decode Base64 back to readable text, and turn uploaded images into Base64 data — all in your browser.
The converted string will appear here.About the base64 encoder / decoder
Base64 is an encoding scheme that represents binary data — text, images, or any bytes — using only 64 printable ASCII characters. It is commonly used to embed images directly in HTML or CSS, transmit binary data over text-only channels like JSON APIs, and store small assets in data URLs.
This tool encodes plain text into a Base64 string and decodes Base64 back to text, handling UTF-8 correctly so international characters survive the round trip. You can also upload an image file to instantly get its Base64 string for embedding as a data URL.
Options
- Encode — convert plain text into a Base64 string.
- Decode — convert a Base64 string back to readable text.
- Image upload — read an image file and load its Base64 representation.
How to use the base64 encoder / decoder
Pick a mode
Choose Encode (text → Base64) or Decode (Base64 → text).
Enter or load input
Type or paste your text, or upload an image to load its Base64 automatically.
Copy the result
The converted string appears live — click Copy to use it anywhere.
Frequently asked questions
What is Base64 used for?
Can I convert an image to Base64?
Does it handle Unicode and emoji?
Why did my decode fail?
Is my data uploaded anywhere?
Explore more utilities
More like this
Other utilities
- Word UnscramblerFind every word from jumbled letters
- Anagram SolverFind anagrams of any word
- Word CounterCount words, characters & sentences
- Word FinderFind words matching a pattern
- Random Word GeneratorGenerate random dictionary words
- Character CounterCount characters with & without spaces
- Case ConverterConvert text to upper, lower, title & more
- Text CleanerRemove extra spaces, blank lines & junk
- Remove Duplicate LinesDelete repeated lines from any text
- Sort LinesSort lines alphabetically or numerically
- Text ReverserReverse text, words or characters
- Find & ReplaceFind and replace text with options
- Text DiffCompare two texts and highlight differences
- Slug GeneratorTurn any text into a URL-friendly slug
- Text to ListConvert text into a formatted list
- Percentage CalculatorCalculate percentages instantly
- Percentage Change CalculatorMeasure increase or decrease between values
- Discount CalculatorFind sale price & savings
- Tax CalculatorAdd or remove sales tax & VAT
- Tip CalculatorCalculate tips & gratuity
- Split Bill CalculatorSplit a bill & tip across people
- Ratio CalculatorSimplify & solve ratios
- Fraction CalculatorAdd, subtract, multiply & divide fractions
- Average CalculatorMean, median, mode & range
- Standard Deviation CalculatorVariance & standard deviation of a data set
- Age CalculatorCalculate age from any birthdate
- Date Difference CalculatorAdd to dates or find date differences
- Time Duration CalculatorCalculate time between two times
- Interest CalculatorSimple & compound interest in one tool
- Loan/EMI CalculatorMonthly EMI, interest & total payable
- Unit ConverterConvert length, weight & temperature
- Time ConverterConvert between time units
- Data Storage ConverterConvert bits, bytes, KB, MB, GB & TB
- Data Transfer ConverterConvert bit/s, Mbit/s, MB/s & GB/s
- Pressure ConverterConvert pascal, bar, psi & atm
- Energy ConverterConvert joules, calories, kWh & BTU
- Number/Base ConverterConvert binary, octal, decimal & hex
- Time Zone ConverterConvert times between world time zones
- Power ConverterConvert watts, kilowatts, horsepower & BTU/h
- Fuel Economy ConverterConvert MPG, L/100km & km/L
- Password GeneratorCreate strong, secure random passwords
- QR Code GeneratorTurn any link or text into a QR code
- Random Number GeneratorGenerate random numbers in any range
- Lorem Ipsum GeneratorGenerate placeholder Lorem Ipsum text