Base64 Encode
Paste your text below and click Encode to convert it to Base64. Supports UTF-8 text. All processing happens locally in your browser.
What is Base64 Encoding?
Base64 is a binary-to-text encoding scheme that represents binary data as an ASCII string. It is commonly used to embed images in HTML/CSS, transmit data in URLs, encode email attachments (MIME), and store complex data in JSON or XML.
The encoding uses 64 characters: A-Z, a-z, 0-9, +, and /, with = for padding.
This page encodes with the browser's own Base64 function, so the result is exactly what any standard library would produce: the standard alphabet, with equals-sign padding, on one line. Nothing is uploaded and nothing is stored.
Related tools
Debugging something that will not decode?
A payload that will not decode is usually a symptom rather than the fault: a double encoding somewhere in the pipeline, a charset assumed instead of declared, a token signed over bytes that are not quite the bytes anyone expected. We do this kind of work, on integrations, APIs and the systems that pass data between them.
Tell us what is breaking