Skip to main content
dubinity

Developer & Web

Base64 Encoder

Encode any text to Base64, including Arabic and emoji, with URL-safe and line-wrapping options.

  • Runs in your browser
  • Works on mobile
  • In: TEXT
  • Out: Base64
Loading the tool…

Your files and text are processed on your own device, inside this page. Nothing is uploaded to Dubinity or stored, and closing the tab discards it. How privacy works

About Base64 Encoder

Converts text to Base64 through UTF-8, so Arabic, Chinese and emoji encode correctly - the browser's own btoa() throws an error on them.

The URL-safe alphabet (- and _) is available for tokens and query strings, padding can be turned off, and output can be wrapped at 76 characters for email headers.

How to use it

  1. 1Type or paste your text, or open a file.
  2. 2Choose any options - the result updates as you type.
  3. 3Copy the result or download it as a file.

Questions

Was this tool helpful?

All developer tools
  • Base64 Decoder

    Decode Base64 back to text, or view the raw bytes as a hex dump when the data is not text.

    Base64
    Runs in your browserOpen tool
  • URL Encoder

    Percent-encode text for a URL, a query value or form data, with full support for Arabic and emoji.

    TEXT
    Runs in your browserOpen tool
  • Hash Generator

    Hash text with MD5, SHA-1, SHA-256, SHA-384, SHA-512 or CRC-32, with HMAC and per-line options.

    TEXT
    Runs in your browserOpen tool
  • JWT Decoder

    Read a JSON Web Token's header and payload, with expiry in plain language and optional HMAC verification.

    JWT
    Runs in your browserOpen tool
  • JSON Formatter

    Format and indent JSON, or minify it, with exact error positions and big numbers kept as written.

    JSON
    Runs in your browserOpen tool
  • Password Generator

    Create strong random passwords with the character rules a site demands, and see the real entropy.

    NONE
    Runs in your browserOpen tool