BASE64(1)

πŸ“¦
version 9.10 Β· 5 versions
, in ubuntu stonking

πŸ’– NAME πŸ’–

base64 β€” the little tool that base64 encodes/decodes your data and yeets it straight to standard output 🫢


✨ SYNOPSIS ✨

base64 [OPTION]... [FILE]

🌸 DESCRIPTION 🌸

okay so bestie, here's the tea β˜• β€” base64 will base64 encode or decode whatever FILE you hand it (or standard input, she's flexible like that) and print the result to standard output. no cap.

Got no FILE? Or you passed FILE as -? Then she reads from standard input instead. iconic behavior tbh πŸ’…

heads up queen: mandatory arguments for long options are mandatory for the short options too. like, if a long option needs a value, the short one does too. rules are rules πŸŽ€
  • -d, --decode β€” decode that data, bestie πŸ”“
  • -i, --ignore-garbage β€” when you're decoding, just ignore the non-alphabet characters. she's not gonna fight you on it πŸ™ˆ
  • -w, --wrap=COLS β€” wraps the encoded lines after COLS characters (default is 76). pass 0 to disable line wrapping completely ✨
  • --help β€” shows you this help and dips out πŸ‘‹
  • --version β€” spits out version info and exits πŸ‘‘

And now the actual ✨science✨ part: the data are encoded as described for the base64 alphabet in RFC 4648. When you're decoding, the input may contain newlines in addition to the bytes of the formal base64 alphabet. Use --ignore-garbage if you wanna attempt to recover from any other non-alphabet bytes chillin' in the encoded stream. lowkey a lifesaver 😭


πŸ¦‹ AUTHOR πŸ¦‹

Written by Simon Josefsson. thank you king πŸ‘‘βœ¨


πŸ’€ REPORTING BUGS πŸ’€

Found a bug? spill it, don't sit on it:


🌈 SEE ALSO 🌈


Packaged by Ubuntu (9.10-1ubuntu2). 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.

fr fr read that license part, bestie β€” free to change and redistribute, but NO WARRANTY. know what you're signing up for πŸ’…

and that's the whole vibe check πŸŽ€ this was GNU coreutils 9.10, dated August 2026, page BASE64(1). go encode something cute, ily, bye!! πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from