What does base64 do?
base64 encodes data into plain text characters and decodes it back with -d. It is encoding, not encryption — anyone can decode it.
base64 [-d] [file]
Most useful options
| Option | What it does |
|---|---|
| -d | decode |
| -w 0 | no line wrapping |
base64 examples
In security work
Malware and CTF flags often hide in Base64. Strings ending in = or == are a hint.
Questions about base64
Is Base64 encryption?
No. It has no key — it only changes the format. Never use it to protect passwords.