Skip to content
Created by Iternal Technologies, the AI Strategy ExpertsBy Iternal (opens in a new tab)

Escape & Encode

Base64 Decode

Base64

Paste a Base64 string to decode it to text as you type.

Text

About Base64 Decode

Base64 Decode turns a Base64 string back into text. Paste a token, a data payload or the output of Base64 Encode and the text updates as you type.

Spaces, tabs and line breaks are ignored, and missing = padding is accepted. Both the standard alphabet and the URL-safe alphabet (- and _) are read in the same string. The decoded bytes must be valid UTF-8, including emoji.

Decoding runs in your browser and the text you paste is never uploaded. Swap sends the text to Base64 Encode when you need to encode it again.

Frequently asked questions

What does Base64 decoding do?

It reverses Base64. Each group of alphabet characters becomes the original bytes, and those bytes are read as UTF-8 text. Use it to read a token or a payload copied from a log, an API or a URL.

Do I need the trailing padding?

No. Missing = padding is accepted. When the signs are present they must be the right number and only at the end. Spaces, tabs and line breaks are skipped.

Can I decode URL-safe Base64?

Yes. URL-safe Base64 writes - and _ instead of + and /, and it often drops padding. This decoder accepts that form and the standard form in the same string. A character outside both alphabets is reported at that spot.

What if the decoded bytes are not text?

Base64 can hold any bytes, not only text. When the bytes are not valid UTF-8, the tool reports Invalid UTF-8 in the decoded bytes instead of substituting a replacement character.

Is the text I paste uploaded anywhere?

No. Decoding runs in your browser and the text you paste is never uploaded, logged or stored. Google Analytics records page views and feature use, never content.

  • Base64 Encode

    Encode any text as Base64 as you type, including emoji and accents, with a standard or URL-safe alphabet. Runs in your browser; your text is never uploaded.

  • JSON Escape / Unescape

    Turn text into a valid JSON string literal, or decode one back to plain text.

  • URL Encode / Decode

    Percent-encode text for a URL, or decode a percent-encoded string.

  • HTML Escape / Unescape

    Escape text for HTML, or decode entities back to characters.

  • JavaScript Escape / Unescape

    Escape text as a JavaScript string literal, or decode those escapes.

Iternal · AI Blueprint Builder

Plan the AI initiative, not just the output

The AI Blueprint Builder scores each use case across value, feasibility, cost, governance, risk, adoption and readiness before you commit budget. Free to start, about 60 minutes.

Open the AI Blueprint Builder (opens in a new tab)