Base 64 decode/encode command line util.
Can either read input from commandline arguments, from command line pipes and from files.
Easy to use base 64 conversion tool to prevent using any online websites for base 64 conversion, which are potentially insecure to use.
- Base64 Encoding / Decoding
- Base64 Url Encoding / Decoding
- Input via
- File
- stdin / pipes
- Parameter
- JWT Decoding
- Completly offline - without web access
- Basic Auth Encoding / Decoding
- Kubernetes Secret Encoding / Decoding
As this is mainly a personal utility program do not expect many changes in the future. Feel free to contribute via pull-requests or submit issues if any. Please note, that there might be a quite long response time as I don't know how much I will invest in this small tool in the future.
dotnet restore .
dotnet build . -c Release
./tests.sh && echo "TESTS OK" || echo "TESTS FAILED"
dotnet tool install --global b64
Display Help:
b64 --help
Encode a ASCII text as base 64 ASCII text:
b64 encode Hello
b64 encode -f hello.txt
b64 encode < hello.txt
cat hello.txt | b64 encode
Decode a base64 ASCII text to regular ASCII text:
b64 decode SGVsbG8=
b64 decode -f hello.txt
b64 decode < hello.txt
cat hello.txt | b64 decode