Skip to content

Troubleshooting

Three verified macOS Terminal commands in a table: printf '%s' "user:pw" | base64 gives dXNlcjpwdw==; base64 -d

How to Encode and Decode Base64 on macOS

macOS ships a base64 command at /usr/bin/base64, so there’s nothing to install — it’s the FreeBSD version, which differs from the GNU one on Linux in a couple of ways worth knowing. This covers encoding…