= stands in for the missing ones.
= stands in for the missing ones.
⚠️ IMPORTANT DISCLAIMER: The tools and scripts on this site are provided "AS IS" for educational purposes.
Review destructive commands before executing. By using this site, you assume all risk and agree to our Full Terms of Service.
Base64 turns binary data into plain text using 64 safe characters, so it can travel in email, JSON, HTTP headers and config files. Paste a Base64 string to decode it, or plain text to encode it; auto mode only decodes real Base64, so passwords and API tokens get encoded, not garbled. It reads PowerShell -EncodedCommand values, data: URLs and JWTs, encodes whole files, and names what decoded bytes are. The bit map shows how every 3 bytes become 4 characters, which helps when a value refuses to decode.
The usual causes are missing = padding, spaces or line breaks copied along with the value, or URL-safe Base64, which uses - and _ instead of + and /. A length that isn’t a multiple of 4 is a sign the padding was stripped. Remove whitespace, swap - and _ back, and add = until the length divides by 4.
echo 'aGVsbG8=' | base64 -d decodes it (older macOS versions use base64 -D). To encode text without a trailing newline, use printf '%s' 'text' | base64; echo adds a newline, which changes the result.
No. Base64 is an encoding, not encryption, and anyone can decode it without a key. Kubernetes Secrets, HTTP Basic Auth headers and many config files store values in Base64, so treat a Base64 value as if it were plain text.
Every 3 bytes of input become 4 characters, so encoded data is about 33% larger, plus up to two = padding characters. MIME-style Base64 also adds a line break every 76 characters.
Paste the whole command line, or just the value after -enc. The value is Base64 of UTF-16LE text, so a plain UTF-8 decoder shows dots and gibberish; this tool spots that and shows the script. To make one, set Text as to UTF-16LE and copy the PowerShell command it builds.
kubectl get secret NAME -o jsonpath='{.data.KEY}' | base64 -d. The value is only encoded, so anyone who can read the Secret can read the password; limit who can get Secrets with RBAC.
Related tools: Data Transformer · JWT Decoder · PKI Inspector · All tools A–Z
Most tools run entirely in your browser. Tools marked 📡 contact outside services, as listed in the Privacy Policy. Review commands before you run them; see the Terms.