Zum Inhalt springen
uencoder

Base64-Kodierer

Encode text or binary data to Base64 online. Kostenlos, privat und 100% clientseitig.

Beispiel ausprobieren:
Local only

Letzte Verlauf

Noch kein Verlauf

Verwendung

  1. Geben oder fügen Sie Text in das Eingabefeld ein.
  2. Select the desired character set.
  3. Copy or download the encoded result.

Aufgaben mit diesem Tool

Fix gemein Base64 Dekodierung Fehler
Warum ein Base64 Zeichenkette fails in dekodieren — missing padding, URL-sicher alphabets, stray whitespace — und der exact Schritte in repair jede case.
AUFGABE
Konvertieren data between Base32, Base58, Base64, Base85, and Base91
Translate der gleich binary Payload across unterschiedlich base encodings verwendet durch unterschiedlich Systeme (Bitcoin, DNS, PDF, compact serialization).
AUFGABE
Konvertieren hexadecimal string to Base64 and back
Translate zwischen hex dumps und Base64 representations von der gleich binary Daten ohne losing Bytes oder introducing padding Fehler.
AUFGABE
Dekodieren Base64 text and handle missing or corrupted padding
Dekodieren Base64 payloads that arrive without trailing '=' padding or with URL-safe alphabet, and recover the original bytes safely.
AUFGABE
Lesen Anmeldedaten von ein Basic Auth Header
Ein Base64 dekodieren, ein colon teilen, und ein leeren-eyed look at warum Basic Auth Anmeldedaten deserve careful handling.
AUFGABE
Codieren binary data into a JSON-safe string
Konvertieren raw bytes (images, encrypted blobs, file contents) into a Base64 string that can be embedded inside a JSON field without breaking the structure.
AUFGABE
Codieren a file into a Data URI for inline embedding
Konvertieren a small image, font, or file into a data: URI so it can be embedded directly in HTML, CSS, or Markdown without a separate HTTP request.
AUFGABE
Verschlüsseln text with AES and decrypt it back
Symmetrically verschlüsseln ein Nachricht mit ein passphrase mit AES-256-GCM, dann entschlüsseln der ciphertext mit der gleich Schlüssel in recover der original.
AUFGABE
Verschlüsseln a large file with AES in chunks
Verschlüsseln files too large for a single AES operation by processing them in chunks with a streaming mode, then decrypt to recover.
AUFGABE
Securely wipe sensitive Daten von memory
Cryptographic Schlüssel und plaintext muss sein zeroed von memory nach verwenden. Lernen warum memset ist nicht enough und wie in prevent compiler optimization.
AUFGABE
Verwenden HTTP Basic Authentication
Basic Auth sends Anmeldedaten als Base64-encoded username:Passwort in der Authorization Header. Lernen der formatieren, Sicherheit requirements, und alternatives.
AUFGABE
Verwenden Bearer tokens für API authentication
Bearer tokens sind sent in der Authorization Header: "Bearer <token>". Whoever holds der Token kann access der API — protect it wie ein Passwort.
AUFGABE
Verwenden CBOR Kodierung für compact binary JSON
CBOR (Concise Binary Objekt Representation, RFC 8949) ist ein binary serialization formatieren für JSON-wie Daten, smaller und faster than JSON.
AUFGABE
Verwenden cookies securely
Cookies muss sein setzen mit Sicher, HttpOnly, SameSite, und proper expiration. Lernen cookie attributes und Sicherheit best practices.
AUFGABE
Verwenden MessagePack für efficient binary serialization
MessagePack packs JSON-wie Daten in ein compact binary formatieren, reducing Größe und parsing time. Popular in high-performance APIs und IoT.
AUFGABE
Understand WebSocket frame formatieren
WebSocket frames haben ein spezifisch binary formatieren mit opcode, masking, und Payload Länge. Lernen in dekodieren und construct WebSocket frames.
AUFGABE
Verifizieren das kodieren-dekodieren round-trips losslessly
Confirm das Dekodierung dann re-Kodierung (oder vice versa) returns der exact original Eingabe, catching silent Daten corruption von wrong alphabets oder padding.
AUFGABE

Pipelines mit diesem Tool

Häufige Fragen

What is Base64 encoding?
Base64 encodes binary data as a set of 64 printable ASCII characters (A-Z, a-z, 0-9, +, /), making it safe to store or transmit over text-only channels such as JSON, XML, or email.
Werden meine Daten irgendwo hochgeladen?
No. All encoding happens locally in your browser with no server round-trip. The tool is fully offline-capable.
Why does the output end with '=' or '=='?
Base64 encodes every 3 bytes into 4 characters. When the input length is not a multiple of 3, padding with '=' characters brings the output to a multiple of 4. One '=' means 2 extra bytes in the last group; '==' means 1 extra byte.
Which character sets are supported?
UTF-8 (default), ASCII, Latin1, and UTF-16LE. UTF-8 handles multilingual text correctly; UTF-16LE matches the platform byte order for Windows APIs.
Can I encode binary files?
Yes. Use the file picker to load a binary file; its bytes are encoded directly to Base64 without any text decoding step.
What is the maximum input size?
There is no hard limit beyond browser memory. For inputs above a few megabytes, encoding runs in a Web Worker to keep the UI responsive.

Verwandte Tools