Fuzengine Tools logo Fuzengine Tools
UTF-8 Text · File to Data URL · Local Browser

Base64 Text & Binary File Encoder / Decoder

Encode plain text to UTF-8 Base64, decode Base64 strings safely, or turn small local files into Base64 Data URLs offline.

Methodology, Worked Example & Limitations

Verified technical behavior of Base64 Encode / Decode on Fuzengine Tools.

What It Does & Who Uses It

Encodes strings via TextEncoder -> UTF-8 byte array -> btoa(), and reverses via atob() -> Uint8Array -> TextDecoder (preventing broken multi-byte Unicode strings). Also reads local files via FileReader.readAsDataURL().

Built for: Developers testing Basic Auth headers, JWT payloads (remember Base64 is encoding, NOT encryption!), and embedding small icons.

Worked Example

Plain text "Fuzengine Tools" encodes to "RnV6ZW5naW5lIFRvb2xz"; decoding reverses back cleanly.

Understanding the Output: Whitespace/newlines in pasted Base64 input are stripped before decoding; malformed lengths or non-Base64 bytes surface a clear validation message.

Formula & Processing Method

Maps every 3 binary bytes (24 bits) into 4 printable ASCII characters (A-Z, a-z, 0-9, +, /, padded with =).

Known Limitations & Scope

Base64 increases data size by ~33% and provides zero confidentiality (anyone can decode it). Large binary files > several MB make Data URL strings very slow to paste into source files.

See also: All Developer Tools · Full Privacy Spec

Frequently Asked Questions

Is Base64 encoding the same as encryption?

No. Base64 only represents binary bytes in ASCII text; anyone who intercepts Base64 text can decode it immediately without any key.