| Crates.io | b58uuid-cli |
| lib.rs | b58uuid-cli |
| version | 1.0.0 |
| created_at | 2026-01-14 06:28:20.617774+00 |
| updated_at | 2026-01-14 06:28:20.617774+00 |
| description | Compact Base58 UUID Encoder CLI - Convert UUIDs to 22-character Base58 format |
| homepage | https://b58uuid.io |
| repository | https://github.com/b58uuid/b58uuid-cli |
| max_upload_size | |
| id | 2042308 |
| size | 58,429 |
Command-line tool for converting UUIDs to compact 22-character Base58 format.
Website: b58uuid.io
cargo install b58uuid-cli
brew tap b58uuid/tap
brew install b58uuid
scoop bucket add b58uuid https://github.com/b58uuid/scoop-bucket
scoop install b58uuid
curl -fsSL https://raw.githubusercontent.com/b58uuid/b58uuid-cli/main/install.sh | sh
iwr -useb https://raw.githubusercontent.com/b58uuid/b58uuid-cli/main/install.ps1 | iex
Download pre-compiled binaries from GitHub Releases.
# Encode a single UUID
b58uuid encode 550e8400-e29b-41d4-a716-446655440000
# Output: BWBeN28Vb7cMEx7Ym8AUzs
# Encode from stdin
echo "550e8400-e29b-41d4-a716-446655440000" | b58uuid encode
# Encode from file
b58uuid encode --file uuids.txt
# Decode a single B58UUID
b58uuid decode BWBeN28Vb7cMEx7Ym8AUzs
# Output: 550e8400-e29b-41d4-a716-446655440000
# Decode from stdin
echo "BWBeN28Vb7cMEx7Ym8AUzs" | b58uuid decode
# Decode from file
b58uuid decode --file b58uuids.txt
# Generate one B58UUID
b58uuid generate
# Generate multiple B58UUIDs
b58uuid generate --count 5
# Generate as standard UUID
b58uuid generate --uuid
# Validate UUID or B58UUID
b58uuid validate 550e8400-e29b-41d4-a716-446655440000
b58uuid validate BWBeN28Vb7cMEx7Ym8AUzs
# Disable colored output
b58uuid --no-color encode <uuid>
# Show version
b58uuid --version
# Show help
b58uuid --help
b58uuid encode --help
# Encode
$ b58uuid encode 550e8400-e29b-41d4-a716-446655440000
BWBeN28Vb7cMEx7Ym8AUzs
# Decode
$ b58uuid decode BWBeN28Vb7cMEx7Ym8AUzs
550e8400-e29b-41d4-a716-446655440000
# Generate
$ b58uuid generate
BWBeN28Vb7cMEx7Ym8AUzs
# Create a file with UUIDs
cat > uuids.txt << EOF
550e8400-e29b-41d4-a716-446655440000
6ba7b810-9dad-11d1-80b4-00c04fd430c8
6ba7b811-9dad-11d1-80b4-00c04fd430c8
EOF
# Encode all UUIDs
b58uuid encode --file uuids.txt
# Generate and encode
uuidgen | b58uuid encode
# Encode multiple UUIDs
cat uuids.txt | b58uuid encode
# Decode multiple B58UUIDs
cat b58uuids.txt | b58uuid decode
# Validate UUID
$ b58uuid validate 550e8400-e29b-41d4-a716-446655440000
✓ Valid UUID
UUID: 550e8400-e29b-41d4-a716-446655440000
B58UUID: BWBeN28Vb7cMEx7Ym8AUzs
# Validate B58UUID
$ b58uuid validate BWBeN28Vb7cMEx7Ym8AUzs
✓ Valid B58UUID
B58UUID: BWBeN28Vb7cMEx7Ym8AUzs
UUID: 550e8400-e29b-41d4-a716-446655440000
Standard UUID: 36 characters
550e8400-e29b-41d4-a716-446655440000
B58UUID: 22 characters (39% shorter)
BWBeN28Vb7cMEx7Ym8AUzs
# Clone the repository
git clone https://github.com/b58uuid/b58uuid-cli.git
cd b58uuid-cli
# Build release binary
cargo build --release
# Install locally
cargo install --path .
# Run tests
cargo test
# Install cross
cargo install cross
# Build for Linux
cross build --release --target x86_64-unknown-linux-gnu
# Build for macOS
cross build --release --target x86_64-apple-darwin
cross build --release --target aarch64-apple-darwin
# Build for Windows
cross build --release --target x86_64-pc-windows-gnu
B58UUID is available in multiple languages:
Contributions are welcome! Please feel free to submit a Pull Request.
git checkout -b feature/amazing-feature)git commit -m 'Add some amazing feature')git push origin feature/amazing-feature)This project is licensed under the MIT License - see the LICENSE file for details.