JOSE-B64-ENC(1)

πŸŽ€ JOSE-B64-ENC πŸŽ€

okay so bestie, welcome to jose-b64-enc, part of the jose manual crew (that's JOSE-B64-ENC(1) if you're being formal πŸ’…). She's a tiny little queen with one job and she does it flawlessly: taking your raw binary chaos and turning it into URL-safe Base64. no cap. ✨


πŸ’– NAME πŸ’–

jose-b64-enc β€” literally just encodes binary data to URL-safe Base64. that's it. that's the whole gig. and she ate. πŸ“


✨ SYNOPSIS ✨

jose b64 enc -I BIN [-o B64]

🌸 OVERVIEW 🌸

ok so picture this: you've got yourself some binary data. it's giving unreadable. it's giving raw bytes. and you need it in URL-safe Base64 format so it can travel the internet without breaking anything.

enter jose b64 enc, your main character. 🫢 she encodes binary data to URL-safe Base64 format, periodt. that's the vibe check and she passed.


πŸ’… OPTIONS πŸ’…

here's where the real tea is, bestie β€” every flag, every form, no skipping:

  • -I FILE, --binary=FILE β€” reads binary data from FILE. this is your input, your source material, the raw material she's gonna slay into shape. πŸ¦‹
  • -I -, --binary=- β€” same thing but instead of a file, she reads binary data from standard input. the classic - move, yk? iconic behavior. ⭐
  • -o FILE, --base64=FILE β€” writes the Base64 (URL-safe!) output to FILE. that's where the glow-up lives. πŸ”₯
  • -o -, --base64=- β€” writes the Base64 (URL-safe!) output to standard output. default girlie behavior when you want to see the results yourself in the terminal. πŸ‘‘
ngl bestie, note that both the -I and -o descriptions specify URL-safe Base64 β€” that hyphen-and-underscore-safe flavor, not the regular kind. don't come for me, that's what the page says πŸ’œ

🌈 EXAMPLES 🌈

ok here's the moment you've been waiting for, a real live example πŸ’€

Encode a simple message:

$ echo "Hello, World" | jose b64 enc -I-
SGVsbG8sIFdvcmxkCg

like, look at that. Hello, World went in, SGVsbG8sIFdvcmxkCg came out, and the pipeline used -I- to read from stdin exactly like we said. truly a rags-to-riches story. 😭✨


🧚 AUTHOR 🧚

this masterpiece was brought to you by Nathaniel McCallum <npmccallum@redhat.com>. give her a round of applause fr fr πŸŽ€


πŸ’œ SEE ALSO πŸ’œ

  • jose-b64-dec(1) β€” the reverse queen. she takes it back to binary. yin to her yang, if ykyk. πŸ¦‹

so yeah, that's the whole page bestie, every flag, every example, nothing dropped πŸ’– and just so you have the receipts: this was from the JOSE-B64-ENC(1) manual, dated 06/09/2026. go forth and encode slayfully πŸ”₯πŸ‘‘πŸ’…

πŸ“¦ where this page comes from