UTF-8 text encoding
Encode regular text, accents, symbols and emoji correctly as Base64.
Use this free Base64 encoder to convert text, images, PDFs and other files instantly. Create standard Base64, URL-safe output, or a complete data URL privately in your browser.
Enter text or choose a file to encode.
Or choose any image, PDF, document, archive, audio or video file.
Copy the result or download it as a text file.
Convert content to Base64 without an account, upload step, or external server. Everything runs locally in your browser.
Encode regular text, accents, symbols and emoji correctly as Base64.
Encode images, PDFs and other files, with an optional MIME-aware data URL prefix.
Replace special Base64 characters for use in URLs, tokens and web applications.
Turn text or binary files into Base64 in a few simple steps.
A data URL includes both the file type and Base64 content in one value, such as data:image/png;base64,.... It is useful when embedding small images, documents or other resources directly in HTML, CSS or JSON.
Base64 converts binary data into ASCII text using 64 characters. It is commonly used to carry images, file attachments and other data through text-based formats such as HTML, CSS, JSON and email. Base64 is an encoding format, not encryption, so it should not be used to hide sensitive data.
Standard Base64 uses +, / and optional = padding. URL-safe Base64 substitutes hyphens and underscores, making encoded values easier to use in URLs and API parameters. To reverse an encoded value, use our free Base64 decoder.
Answers about encoding text, files, data URLs and URL-safe Base64 with My Panda Toolbox.
Base64 encoding converts text or binary bytes into a text representation that can be stored or transmitted through text-based systems.
Yes. The encoding process runs inside your browser, so the content is not uploaded by this tool.
Yes. Choose the File tab and select an image, PDF, document, archive or other file to convert it to Base64.
URL-safe Base64 replaces plus and slash characters with hyphens and underscores, and removes trailing padding characters.