MofidTech
Programming
All Programming
Tips
Technology
Tutorials
All Tutorials
Django
All Django
Advanced Django Backend Concepts
Advanced Frontend Integration and UX
Django APIs and Modern Development
Django Beginner Core Skills
Django Foundations for Beginners
Intermediate Django Development
Real-World Django Features
Machine Learning
Python
Tools
Login
Register
Base64 ↔ Hex ↔ Binary ↔ ASCII Converter
Convert text/bytes between Base64, Hex, Binary and UTF-8 safely.
Back to Tools
Input
Mode
Encode
Decode
Input type
Auto-detect
Text (UTF-8)
Base64
Hex
Binary
Detected:
auto
Data
Base64 options
URL-safe
Auto-detect URL-safe (Decode)
Remove padding (=) (Encode)
URL-safe uses
-
and
_
instead of
+
and
/
. Removing padding is common in JWT/base64url tokens.
Binary options
Group binary by 8 bits
Convert
Reset
Load example…
Hello (text)
Base64 (text)
Hex (bytes)
Binary (bytes)
Example loaded
Outputs
Bytes: 0
Run the converter to see results here.
Text (UTF-8)
Base64
Hex
Download .bin (raw bytes)
Binary
Text copied