Skip to content
Free website migration on every plan, done by our team.Learn more ›
Free tool · Developer

Base64 encoder and decoder

Encode text to Base64 or decode Base64 back to readable text. Standard and URL-safe forms are both understood, and it works as you type.

Result

Private: this runs in your browser. Nothing you type is sent to us, saved or logged.

How it works

How Base64 works

Text-safe packaging

Base64 writes any data using 64 safe characters, so it can travel through email, web addresses and settings files without being damaged.

About a third bigger

Every 3 bytes become 4 characters, so Base64 is about 33% larger than the original.

Stays on your device

Encoding and decoding run in your browser. Nothing you paste is sent to us.

Questions

Base64 encoder and decoder: common questions

Is Base64 encryption?

No. Base64 only changes how data is written; anyone can decode it. Never use it to hide passwords or secrets.

What is URL-safe Base64?

A form that replaces + and / with - and _ and usually drops the = padding, so the result can sit in a web address or file name. This tool decodes both forms.

Where is Base64 used in hosting?

In email attachments, in DKIM keys published in DNS, in HTTP basic authentication headers and in small images embedded in CSS or HTML.

Why does my decoded text look wrong?

The data may not be text at all (an image, for example), or it may have been cut off when copied. Base64 length is normally a multiple of four characters.

More free tools

Everything you need to check a website

Binary translatorTurn text into binary or hex and decode it back, in your browser.Hash generator (SHA-256)SHA-256, SHA-1, SHA-384 and SHA-512 hashes of any text.Unix timestamp converterTurn a Unix timestamp into a date, or a date into a timestamp.WHOIS lookupSee who a domain is registered with and when it expires.DNS lookupCheck A, MX, TXT, SPF, DMARC and other records in seconds.SSL checkerCheck a site’s certificate, who issued it and when it expires.Website speed testMeasure how fast a server answers, plus its security headers.What is my IP?See the public IP address websites see when you visit.Domain name generatorTurn a few words into domain names that are free to register.Email security checkerGrade a domain’s SPF, DKIM and DMARC and see why email lands in spam.Website checkerOne check for DNS, SSL, speed, security headers and email protection.Hosting plan finderAnswer five quick questions and get the hosting plan that fits.IP address lookupLook up any IP: its provider, network, country, reverse DNS and abuse contact.DNS propagation checkerSee if a DNS change has reached the world’s big DNS resolvers yet.Email blacklist checkerSee if a mail server IP or a domain is on the email block lists.SPF and DMARC generatorCreate the SPF and DMARC records that keep your email out of spam.Subnet calculatorNetwork, host range and masks for any IPv4 or IPv6 subnet.Password checker and generatorTest a password’s strength and create strong ones, privately in your browser.Uptime calculatorTurn an uptime percentage into real downtime per day, month and year.Chmod calculatorWork out file permission numbers such as 644 and 755.
See all 21 free tools
AuroxHost

A faster, safer home for your website

NVMe hosting with free SSL that renews itself, daily backups and free migration, with real people on WhatsApp 24/7.