- ★ Standard Base64 encode & decode
- ★ URL-safe Base64 alphabet (
- _ instead of + /)
- ★ File-to-Base64 and Base64-to-file support
- ★ Base64 validation
- ★ Encoding statistics (size, padding, efficiency ratio)
- ★ Multi-encoding support: UTF-8, ASCII, UTF-16, Latin-1
- ★ Output to file via
--output
- ★ Interactive REPL mode (no arguments required)
- ★ Animated star loading screen
| Requirement |
Detail |
| OS |
Windows 7 / 10 / 11 |
| Runtime |
.NET Framework 4.8 |
| Build Tools |
Visual Studio 2019/2022 or MSBuild |
Run without arguments to enter the interactive REPL:
| Command |
Alias |
Description |
encode <text> |
e |
Encode text to Base64 |
decode <b64> |
d |
Decode Base64 to text |
encode-url <text> |
eu |
Encode to URL-safe Base64 |
decode-url <b64> |
du |
Decode from URL-safe Base64 |
validate <b64> |
v |
Validate a Base64 string |
stats <b64> |
s |
Show encoding statistics |
encoding |
|
List supported encodings |
clear |
cls |
Clear the screen |
exit |
q |
Quit |
qbase64 <command> <input> [flags]
| Command |
Alias |
Description |
encode |
-e |
Encode text to Base64 |
decode |
-d |
Decode Base64 to text |
encode-file |
-ef |
Encode a file to Base64 |
decode-file |
-df |
Decode Base64 string/file to binary file |
validate |
-v |
Validate a Base64 string |
help |
-h |
Show help |
| Flag |
Description |
--url-safe |
Use URL-safe Base64 alphabet |
--encoding <name> |
Character encoding: utf-8 ascii utf-16 latin1 |
--output <path> |
Write result to a file |
--stats |
Show encoding statistics after operation |
qbase64 encode "Hello, World!"
qbase64 decode "SGVsbG8sIFdvcmxkIQ=="
qbase64 encode "Hello" --url-safe --stats
qbase64 encode "Hello" --encoding utf-8 --output result.txt
qbase64 encode-file image.png --output image.b64 --stats
qbase64 decode-file encoded.b64 --output restored.png
qbase64 validate "SGVsbG8="
| Name |
Description |
utf-8 |
Unicode UTF-8 (default) |
ascii |
ASCII (7-bit) |
utf-16 |
Unicode UTF-16 (Little Endian) |
latin1 |
ISO-8859-1 |
qbase64/
├── src/
│ ├── Program.cs Entry point
│ ├── Application.cs CLI argument dispatcher
│ ├── InteractiveMode.cs REPL mode
│ ├── Base64Engine.cs Encoding / decoding logic
│ ├── LoadingScreen.cs Animated loading screen
│ └── UI.cs Console output helpers
├── Properties/
│ └── AssemblyInfo.cs
│── qbase64.csproj
✦ qbase64 v0.0.1 ✦