Skip to tool
Data & formats

Base64 Text

Encode and decode UTF-8 text with standard and URL-safe Base64 variants.

Web Worker Local onlyTools
Input0 characters
Result0 characters
Ready

Characters are not bytes · bytes are not symbols

Start with the octets.

Base64 never sees “emoji” or “CJK.” It sees bytes, groups their bits by six, and maps those values to printable ASCII. Text interpretation happens on either side of that encoding core.

01

Characters

A · 码 · 🔧

What a person reads

02

UTF-8 bytes

41 · E7 A0 81 · F0 9F 94 A7

What enters Base64

03

6-bit groups

010000 011110 011110 …

Four groups per 24 input bits

04

Symbols

Qeegg…

Printable transport text

Two RFC alphabets

Only two symbols change. The protocol still changes.

Shared 62 symbols · A–Z · a–z · 0–9
Index 62+-

Plus can be special in URLs/forms

Index 63/_

Slash is a path separator

Padding=Often omitted

The surrounding protocol decides

NameBase64base64url

Do not call them interchangeable without conversion

Padding workbench

The final quantum determines the equals signs.

3 input bytes24 data bits4 symbolsno padding
2 input bytes16 data bits + zero pad bits3 symbols + =one pad
1 input byte8 data bits + zero pad bits2 symbols + ==two pads

Canonical encoders set unused pad bits to zero. Missing padding may be allowed by a protocol, but impossible length remainder 1 is still invalid.

Decode triage

Successful Base64 decoding only gives bytes.

UTF-8 text

48 65 6C 6C 6F

Decode with a fatal UTF-8 decoder

Binary data

00 FF A3 10 …

Show bytes; never invent replacement glyphs

Known signature

89 50 4E 47 …

Candidate PNG; validate the real format

Data URL

data:image/png;base64,…

Prefix supplies media context; it is not encoded payload

Strictness incident strip

Reject ambiguity with a specific reason.

# in input

Non-alphabet character

QUI===

Too much or misplaced padding

QU JD

Whitespace in strict mode

a+b/c

Standard alphabet inside Base64URL mode

A

Impossible length · remainder 1

non-zero pad bits

Decodable but non-canonical

BASE64 IS NOT ENCRYPTION

Representation supplies neither secrecy nor integrity.

Not encryption

Anyone can decode the bytes.

Not integrity

Data can be modified and re-encoded.

4 : 3 transport cost

Base64 adds roughly one output byte per three input bytes before wrappers.

Direct answer

What is Base64 Text?

Encode UTF-8 text or strictly decode Base64 and Base64URL locally, with explicit alphabet, padding, canonical form, and binary-versus-text boundaries.

What can it do?

  • Auto
  • Encode
  • Decode

How to use Base64 Text

  1. 01

    Choose a task

    Select Auto, Encode, and Decode in the workspace.

  2. 02

    Provide the input

    Paste text or Base64 data. The input stays in the browser processing path.

  3. 03

    Review the result

    Run the tool, inspect its result and diagnostics, then copy or download the output when the page offers that action.

Frequently asked questions

What is Base64 Text?
Encode UTF-8 text or strictly decode Base64 and Base64URL locally, with explicit alphabet, padding, canonical form, and binary-versus-text boundaries.
What can Base64 Text do?
Base64 Text supports Auto, Encode, and Decode. Each mode is available directly in the page workspace.
Does Base64 Text upload my data?
Base64 Text processes your input locally in the browser. DevSexy does not add an upload, account, or server-processing step to this workflow.
DevSexy processes tool input locally. No paste tracking, accounts, or upload step.