BASE64(1)
๐ BASE64(1) โ the girlies' guide to base64 ๐
okay so bestie, welcome to base64, a User Commands classic ๐ it's the manual page, it's iconic, it's literally right there in your terminal, and we're about to make it make sense. no cap.
โจ NAME โจ
base64 โ base64 encode/decode data and print to standard output ๐
๐ธ SYNOPSIS ๐ธ
base64 [OPTION]... [FILE]
๐ฆ DESCRIPTION ๐ฆ
so here's the vibe: base64 will base64 encode or decode FILE, or standard input, straight to standard output. she's a simple girl, she does one thing, she slays at it. โจ
If there's no FILE, or if FILE is literally just -, then bestie... she reads standard input. that's the whole thing. ๐ซถ
๐ little reminder, and it's important: mandatory arguments to long options are mandatory for short options too. like, the long option needs its argument, and the short option needs it too. no skipping. periodt.
๐ OPTIONS ๐
-d,--decodeโ decode data. she un-encodes. she reverses. she reads it back. ๐-i,--ignore-garbageโ when decoding, ignore non-alphabet characters. the mess doesn't matter, we're moving on. ๐-w,--wrap=COLSโ wrap encoded lines afterCOLScharacter (default76). use0to disable line wrapping. so like, one long line?0. cute little wrapped lines? default76. โจ--helpโ display this help and exit. she'll tell you how to use her. ๐--versionโ output version information and exit. the receipts, the credentials, the lore. ๐
๐ THE TEA ON ENCODING ๐
The data are encoded as described for the base64 alphabet in RFC 4648. ๐ that's the source, that's the canon, that's the syllabus.
When decoding, the input may contain newlines in addition to the bytes of the formal base64 alphabet. so newlines? allowed. chill. ๐ธ
Use --ignore-garbage to attempt to recover from any other non-alphabet bytes in the encoded stream. she's trying her best to salvage it, and honestly? valid. ๐
๐ซถ AUTHOR ๐ซถ
Written by Simon Josefsson. we love him, we thank him, he ate. ๐
๐ญ REPORTING BUGS ๐ญ
Found a bug? not the vibe, but okay, let's handle it:
- Report bugs to:
<bug-coreutils@gnu.org>. - Report any translation bugs to:
<https://translationproject.org/team/>. - GNU coreutils home page:
<https://www.gnu.org/software/coreutils/> - General help using GNU software:
<https://www.gnu.org/gethelp/>
๐ COPYRIGHT ๐
Copyright ยฉ 2026 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. ๐
There is NO WARRANTY, to the extent permitted by law. read it again bestie. NO WARRANTY. she's free and she's fearless and she is not liable. ๐
๐ SEE ALSO ๐
basenc(1)โ her cousin, also iconic
Full documentation <https://www.gnu.org/software/coreutils/base64>
or available locally via: info '(coreutils) base64 invocation'
and that's the whole page, bestie. GNU coreutils 9.12, dated September 2026 โ this manual walked so you could run base64 with confidence. mwah. ๐
๐ฆ where this page comes from
- arch rolling: coreutils 9.12-2 ยท GPL-3.0-or-later AND GFDL-1.3-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms