Hexadecimal Converter
Free online numeral converter — supports binary, octal, decimal, hex, and bases 2–36.
Tool Guide
About This Tool
Number Base Converter converts between binary, octal, decimal, and hexadecimal instantly, and also converts text strings to/from hex — useful for computer science study, embedded development, and network protocol analysis.
Core Features
1. Four-base conversion: Binary ↔ Octal ↔ Decimal ↔ Hexadecimal in any combination.
2. Text ↔ Hex: Encode strings to their hex representation or decode hex back to text (UTF-8 supported).
3. Batch processing: Convert multiple numbers or strings at once.
How to Use
Step 1: Select the input base and output base.
Step 2: Enter the number and click Convert.
Use Cases
Embedded development: Work with register addresses, memory addresses, and color values in hex.
Network protocols: Decode field values from binary protocol packets.
Color conversion: Convert between RGB decimal (255, 128, 0) and hex (#FF8000).
FAQ
Q: Is hex case-sensitive?
A: No — 0x FF and 0xff represent the same value. Both are accepted.
Q: Can I input hex with a 0x prefix?
A: Yes — 0x FF and FF are both accepted as valid inputs.
Related Tools
Base64 Encoder
Encode to Base64
Base64 Decoder
Decode Base64
Base64 Encoder/Decoder
Encode and decode text with Base64.
URL Encode/Decode
Online URL encoding and decoding tool supporting UTF-8 and GBK charsets.
URL Decode
Online URL encode and decode tool
Unicode Escape Encoder
Convert Chinese text to Unicode hex, HTML entity, and other escape formats