Encode text to Base64 or decode Base64 back to plain text. Supports UTF-8 characters, runs entirely in your browser -- nothing is sent to a server.
Developer tools are just the start. OneStepToRank monitors your Google rankings 24/7 across your entire service area and automatically adapts your strategy to keep you on top.
Get Started FreeBase64 is a binary-to-text encoding scheme that represents binary data as a string of printable ASCII characters. It uses a set of 64 characters -- the uppercase letters A through Z, lowercase a through z, digits 0 through 9, plus sign (+), and forward slash (/) -- to encode arbitrary bytes. The equals sign (=) is used for padding when the input length is not divisible by three. Base64 was originally designed for email (MIME) to safely transmit binary attachments over text-only protocols, but it has since become a fundamental tool in web development, APIs, and data storage.
Base64 encoding is used extensively in modern web development. Data URIs embed images, fonts, and other small assets directly in HTML or CSS, eliminating an HTTP request at the cost of approximately 33% larger file size. API authentication commonly uses Base64 -- HTTP Basic Auth encodes the username:password string in Base64 and sends it in the Authorization header. JSON payloads often include Base64-encoded binary data since JSON does not natively support binary. Email attachments in MIME format use Base64 to encode images, documents, and other files that travel alongside plain-text email content. It is important to note that Base64 is not encryption -- it is trivially reversible and provides no security whatsoever.
The Base64 algorithm works by reading input in groups of 3 bytes (24 bits), then splitting those 24 bits into four 6-bit groups. Each 6-bit value maps to one of the 64 characters in the encoding table. When the input is not evenly divisible by 3, padding with = characters is added: one = if the input has one extra byte, or two == if it has two extra bytes. This ensures the encoded output is always a multiple of 4 characters long. A common variant, Base64url, replaces + with - and / with _, making the output safe for use in URLs and filenames without percent-encoding.