हेक्स कनवर्टर एक उपकरण है जो हेक्साडेसिमल, दशमलव, बाइनरी और अन्य संख्या प्रणालियों के बीच मानों का अनुवाद करता है। यह प्रत्येक हेक्स अंक को 16 की घात के रूप में पढ़कर, फिर उस मान को आपके आवश्यक लक्ष्य प्रारूप में परिवर्तित करके काम करता है। उपकरण 4 मुख्य लाभ प्रदान करता है: मैन्युअल गणित के बिना त्वरित रूपांतरण, बड़े मूल्यों की त्रुटि-मुक्त हैंडलिंग, एक ही स्थान पर कई प्रारूपों के लिए समर्थन, और बाइट्स मानव-पठनीय संख्याओं को कैसे मैप करते हैं, इसका स्पष्ट दृश्य। लोग मेमोरी एड्रेस को पढ़ने, रंग कोड को डिकोड करने, ब्लॉकचेन डेटा का निरीक्षण करने, नेटवर्क पैकेट को डीबग करने और कच्चे बाइट्स को टेक्स्ट में अनुवाद करने के लिए हेक्स कनवर्टर का उपयोग करते हैं। हेक्स कनवर्टर के मुख्य भाग स्रोत मान के लिए इनपुट फ़ील्ड, परिवर्तित परिणाम के लिए आउटपुट फ़ील्ड, हेक्स, दशमलव, बाइनरी, ऑक्टल या टेक्स्ट के बीच चयन करने के लिए एक प्रारूप चयनकर्ता और परिणाम को पकड़ने के लिए एक कॉपी बटन हैं।
हेक्स कनवर्टर क्या है?
हेक्स कनवर्टर एक उपकरण है जो हेक्साडेसिमल मान को किसी अन्य संख्या प्रारूप में बदलता है, या किसी अन्य प्रारूप को हेक्स में बदलता है। आप इनपुट फ़ील्ड में एक मान टाइप करते हैं, टूल प्रत्येक अंक को पढ़ता है, और यह दशमलव, बाइनरी, ऑक्टल, टेक्स्ट या किसी अन्य लक्ष्य प्रारूप में समतुल्य मान लौटाता है।
उपकरण मैन्युअल गणना की आवश्यकता को हटा देता है। हाथ से 1D8A को हेक्स से दशमलव में बदलने का अर्थ है चार अंकों को 16 की घात से गुणा करना और परिणाम जोड़ना। एक हेक्स कनवर्टर एक कुंजी दबाने में लगने वाले समय में ऐसा करता है।
⚡ इसे लाइव आज़माएं
—
—
—
हेक्साडेसिमल क्या है?
हेक्साडेसिमल एक आधार-16 संख्या प्रणाली है। यह 16 प्रतीकों का उपयोग करता है: अंक 0 से 9 और अक्षर ए से एफ तक। अक्षर 10 से 15 के मानों के लिए हैं, क्योंकि दशमलव में काम करने के लिए केवल 10 एकल-अंकीय प्रतीक होते हैं।
कंप्यूटर डेटा को बिट्स में संग्रहीत करता है, और 8 बिट्स एक बाइट बनाते हैं। बाइनरी में एक बाइट लिखने में 8 अक्षर लगते हैं। एक ही बाइट को हेक्स में लिखने में 2 अक्षर लगते हैं, क्योंकि प्रत्येक हेक्स अंक बिल्कुल 4 बिट्स (एक निबल) को कवर करता है। यही कारण है कि हेक्स कहीं भी दिखाई देता है जहां प्रोग्रामर को 1 और 0 की लंबी स्ट्रिंग्स को देखे बिना बाइनरी डेटा पढ़ने की आवश्यकता होती है: मेमोरी पते, रंग कोड, हैश मान और फ़ाइल हेडर।
एक हेक्स मान को अक्सर 0x उपसर्ग के साथ लिखा जाता है, जैसे कि 0xFF, इसे दशमलव संख्या से अलग करने के लिए जो समान अंकों का उपयोग करता है।
🔄 हर आधार में नंबर
—
आप हेक्स कनवर्टर के साथ क्या परिवर्तित कर सकते हैं?
एक हेक्स कनवर्टर 6 सामान्य रूपांतरण प्रकारों को संभालता है: हेक्स से दशमलव, दशमलव से हेक्स, हेक्स से बाइनरी, बाइनरी से हेक्स, हेक्स से ऑक्टल, और हेक्स से टेक्स्ट (ASCII या UTF-8)। कई उपकरण वेब रंगों के लिए हेक्स से आरजीबी, एन्कोडेड डेटा के लिए हेक्स से बेस64 और नेटवर्क मानों के लिए हेक्स से आईपी एड्रेस का भी समर्थन करते हैं।
प्रत्येक रूपांतरण प्रकार एक अलग कार्य करता है। हेक्स से दशमलव आपको परिचित शब्दों में कच्चे मान को पढ़ने में मदद करता है। हेक्स टू बाइनरी सटीक बिट पैटर्न दिखाता है जिसके साथ प्रोसेसर काम करता है। हेक्स टू टेक्स्ट बाइट अनुक्रमों को वापस पठनीय वर्णों में डिकोड करता है। हेक्स से आरजीबी डिज़ाइन कार्य के लिए 6-वर्ण रंग कोड को लाल, हरे और नीले चैनल मानों में बदल देता है।
🔀 रूपांतरण मार्ग
हेक्साडेसिमल संख्या प्रणाली
हेक्साडेसिमल संख्या प्रणाली 16 के मूलांक या आधार का उपयोग करती है। हेक्स संख्या में प्रत्येक स्थिति 16 की शक्ति का प्रतिनिधित्व करती है, दाईं ओर 16⁰ से शुरू होती है और बाईं ओर जाने वाली प्रत्येक स्थिति के लिए एक शक्ति बढ़ती है।
दशमलव में 10 मान और बाइनरी में 2 मान की तुलना में एक हेक्स अंक 16 संभावित मान (0-9, ए-एफ) रख सकता है। इससे प्रति कैरेक्टर हेक्स को अधिक सूचना घनत्व मिलता है। एक एकल हेक्स अंक 4 बिट्स को एनकोड करता है, इसलिए 2 हेक्स अंक एक पूर्ण बाइट (8 बिट्स) को एनकोड करते हैं, और 4 हेक्स अंक 2 बाइट्स (16 बिट्स) को एनकोड करते हैं।
📐 स्थानीय मान एक्सप्लोरर
× 16² (256)
हेक्स कनवर्टर का उपयोग कैसे करें
इनपुट फ़ील्ड में एक हेक्स मान टाइप करें, फिर आउटपुट फ़ील्ड में परिवर्तित परिणाम पढ़ें। कनवर्टर 0x उपसर्ग के साथ या उसके बिना, अपरकेस या लोअरकेस में मान स्वीकार करता है, और यह आमतौर पर बाइट जोड़े के बीच रखे गए रिक्त स्थान या कोलन को अनदेखा करता है।
दशमलव को हेक्स में बदलने के लिए, दशमलव क्षेत्र में एक पूर्ण संख्या दर्ज करें और उपकरण हेक्स समकक्ष लौटाता है। यदि उपकरण एक इंटरफ़ेस में दोनों दिशाओं का समर्थन करता है तो स्वैप या प्रारूप चयनकर्ता का उपयोग करके दिशा बदलें। परिणाम को चुनने और दोबारा टाइप करने के बजाय उसे कॉपी बटन से कॉपी करें, क्योंकि मैन्युअल रीटाइपिंग से लंबे हैश मानों में त्रुटियां आ जाती हैं।
📋 यह काम किस प्रकार करता है
स्टेप 1
प्रारूप चुनें
हेक्स रूपांतरण सूत्र
हेक्स और अन्य प्रारूप के बीच प्रत्येक रूपांतरण एक निश्चित सूत्र का पालन करता है। नीचे दिए गए 6 सूत्र उन रूपांतरणों को कवर करते हैं जिन्हें लोग सबसे अधिक देखते हैं।
हेक्साडेसिमल से दशमलव सूत्र
हेक्साडेसिमल से दशमलव सूत्र दशमलव = Σ (अंक × 16ⁿ) है, जिसे प्रत्येक अंक में जोड़ा जाता है, जहां n अंक की स्थिति है जिसे 0 से शुरू करके दाएं से बाएं तक गिना जाता है। हेक्स 1A3 दशमलव 419 में परिवर्तित होता है: (1 × 16²) + (10 × 16¹) + (3 × 16⁰) = 256 + 160 + 3 = 419.
दशमलव से हेक्साडेसिमल फॉर्मूला
दशमलव से हेक्साडेसिमल सूत्र दशमलव संख्या को 16 से बार-बार विभाजित करता है, प्रत्येक शेष को हेक्स अंक के रूप में रिकॉर्ड करता है, जब तक कि भागफल 0 तक नहीं पहुंच जाता। दशमलव 419 हेक्स 1A3 में परिवर्तित हो जाता है: 419 ÷ 16 = 26 शेष 3, 26 ÷ 16 = 1 शेष 10 (ए), 1 ÷ 16 = 0 शेष 1. पढ़ना इसके विपरीत शेषफल 1A3 देता है।
हेक्साडेसिमल से बाइनरी फॉर्मूला
हेक्साडेसिमल से बाइनरी फॉर्मूला प्रत्येक हेक्स अंक को उसके 4-बिट बाइनरी समकक्ष के साथ बदल देता है, फिर समूहों को क्रम में जोड़ता है: बाइनरी = कॉनकैट (अंक → 4-बिट बाइनरी), अंक दर अंक लागू। हेक्स 2AA बाइनरी 0010 1010 1010 में परिवर्तित हो जाता है, क्योंकि 2 0010 है और प्रत्येक शेष स्थिति में A 1010 है।
बाइनरी से हेक्साडेसिमल फॉर्मूला
बाइनरी से हेक्साडेसिमल फॉर्मूला बाइनरी अंकों को दाईं ओर से शुरू करके 4 के सेट में समूहित करता है, सबसे बाएं समूह को शून्य से भर देता है जब इसमें 4 से कम अंक होते हैं, फिर प्रत्येक समूह को उसके हेक्स अंक में परिवर्तित करता है: हेक्स = कॉनकैट (4-बिट समूह → अंक)। बाइनरी 1010101010 हेक्स 2AA में परिवर्तित होता है।
हेक्साडेसिमल से ऑक्टल फॉर्मूला
हेक्साडेसिमल से ऑक्टल फॉर्मूला मध्य चरण के रूप में बाइनरी के माध्यम से चलता है: प्रत्येक हेक्स अंक को 4-बिट बाइनरी में परिवर्तित करें, पूर्ण बाइनरी स्ट्रिंग को दाईं ओर से 3 के सेट में पुन: समूहित करें, फिर प्रत्येक 3-अंकीय समूह को उसके ऑक्टल अंक में परिवर्तित करें। हेक्स एफएफ ऑक्टल 377 में परिवर्तित हो जाता है, क्योंकि एफएफ बाइनरी 111111111 है, जिसे 011 111 111 के रूप में समूहीकृत किया गया है।
हेक्साडेसिमल से टेक्स्ट फॉर्मूला
हेक्साडेसिमल से टेक्स्ट फॉर्मूला हेक्स स्ट्रिंग को 2-वर्ण बाइट जोड़े में विभाजित करता है, हेक्स-टू-दशमलव फॉर्मूला का उपयोग करके प्रत्येक जोड़े को उसके दशमलव मान में परिवर्तित करता है, फिर ASCII या UTF-8 तालिका का उपयोग करके प्रत्येक दशमलव मान को उसके चरित्र में मैप करता है: टेक्स्ट = मैप (दशमलव (बाइट) → वर्ण)। हेक्स 48656सी6सी6एफ “हैलो” टेक्स्ट में परिवर्तित हो जाता है।
📐 फॉर्मूला त्वरित रेफरी
हेक्स रूपांतरण उदाहरण
हेक्स ए3 दशमलव 163 में बदल जाता है, क्योंकि ए (10) × 16¹ + 3 × 16⁰ = 160 + 3 = 163। हेक्स एफएफ दशमलव 255 में बदल जाता है, क्योंकि एफ (15) × 16¹ + एफ (15) × 16⁰ = 240 + 15 = 255। हेक्स 1डी8ए में बदल जाता है दशमलव 7562, 4 स्थितियों में समान अंक-दर-अंक गुणन के बाद।
दशमलव 1500 हेक्स 5DC में परिवर्तित होता है। दशमलव 255 हेक्स एफएफ में परिवर्तित हो जाता है। दशमलव 4132 हेक्स 1024 में परिवर्तित होता है।
हेक्स 48656सी6सी6एफ “हैलो” टेक्स्ट में परिवर्तित हो जाता है, क्योंकि प्रत्येक 2-वर्ण हेक्स जोड़ी एक एएससीआईआई बाइट पर मैप होती है: 48 एच है, 65 ई है, 6सी एल है, 6सी एल है, और 6एफ ओ है।
🧮 चरण-दर-चरण कैलकुलेटर
हेक्साडेसिमल रूपांतरण विधियाँ
There are 2 core methods for converting between hex and decimal: digit expansion for hex-to-decimal, and repeated division for decimal-to-hex.
अंक विस्तार प्रत्येक हेक्स अंक को उसकी स्थितिगत शक्ति 16 से गुणा करता है, फिर परिणामों का योग करता है। बार-बार विभाजन दशमलव संख्या को 16 से विभाजित करता है, प्रत्येक चरण पर शेष को रिकॉर्ड करता है, फिर हेक्स मान बनाने के लिए शेष को उल्टे क्रम में पढ़ता है।
🔬 विधि विज़ुअलाइज़र
(Digit × 16^pos) + (Digit × 16^pos)…
हेक्साडेसिमल vs दशमलव, द्विआधारी, and Octal
हेक्साडेसिमल, दशमलव, बाइनरी और ऑक्टल आधार में भिन्न होते हैं और प्रत्येक को समान मान दर्शाने के लिए कितने अंकों की आवश्यकता होती है। बाइनरी (बेस 2) एक बाइट को दर्शाने के लिए 8 अंकों का उपयोग करता है। ऑक्टल (आधार 8) 3 अंकों का उपयोग करता है। दशमलव (आधार 10) 1 से 3 अंकों का उपयोग करता है। हेक्स (आधार 16) बिल्कुल 2 अंकों का उपयोग करता है।
द्विआधारी is the format processors operate on directly. Octal was common in early computing and now survives mainly in Unix file permission codes. दशमलव is the system people use for everyday arithmetic. Hex balances compactness with a direct mapping to binary, which is why it dominates in memory addressing, color codes, and cryptographic output.
🎚️ संख्या आधारों की तुलना करें
दशमलव प्रणाली क्या है?
दशमलव प्रणाली एक आधार-10 संख्या प्रणाली है जो 10 अंकों का उपयोग करती है: 0 से 9 तक। प्रत्येक अंक की स्थिति 10 की शक्ति का प्रतिनिधित्व करती है, जो दाईं ओर 10⁰ से शुरू होती है।
The decimal system is the standard for daily arithmetic because humans count on 10 fingers. Computers don’t use decimal internally, so any decimal value entered into a system gets converted to binary or hex before processing.
हेक्साडेसिमल System (Hex System)
The hexadecimal system uses 16 symbols: 0-9 and A-F. Each digit represents a power of 16. The letters A through F stand for the decimal values 10 through 15.
Hex is used across computing because it aligns with byte boundaries. A single byte, made of 8 bits, converts cleanly to exactly 2 hex digits with no remainder or rounding. This clean mapping does not exist between bytes and decimal digits, which is why raw computer data is shown in hex rather than decimal.
दशमलव System
दशमलव is a base-10 positional number system. Each digit’s value depends on both the digit itself and its position in the number. The digit 5 in the number 500 represents 5 × 10², or 500. The same digit 5 in the number 50 represents 5 × 10¹, or 50.
दशमलव दशमलव बिंदु का उपयोग करके भिन्नात्मक मानों को संभालता है, जहां बिंदु के बाद के अंक 10 (दसवां, सौवां, और इसी तरह) की नकारात्मक शक्तियों का प्रतिनिधित्व करते हैं।
How to Calculate हेक्साडेसिमल to दशमलव
Multiply each hex digit by 16 raised to its position, counting positions from right to left starting at 0, then add the results together. The hex value 2AA converts to decimal 682: (2 × 16²) + (10 × 16¹) + (10 × 16⁰) = 512 + 160 + 10 = 682.
For long hex strings like cryptographic hashes, this calculation still works digit by digit, but the resulting decimal number grows large fast. A 64-character hex hash can produce a decimal number with 77 digits.
⚙️ लाइव अंक विस्तार
हेक्साडेसिमल मान को दशमलव मान में बदलें
Converting a hex value to decimal follows 3 steps: assign each digit its power of 16 based on position, multiply each digit by its power, and sum every result.
Example: hex 7DE converts to decimal 2014. (7 × 16²) + (13 × 16¹) + (14 × 16⁰) = 1792 + 208 + 14 = 2014.
Convert दशमलव Value to हेक्साडेसिमल Value
Converting a decimal value to hex follows 4 steps: divide the decimal number by 16, record the remainder as a hex digit, use the quotient as the next number to divide, and repeat until the quotient reaches 0.
Example: decimal 7562 converts to hex 1D8A. 7562 ÷ 16 = 472 remainder 10 (A). 472 ÷ 16 = 29 remainder 8 (8). 29 ÷ 16 = 1 remainder 13 (D). 1 ÷ 16 = 0 remainder 1 (1). Reading the remainders from last to first gives 1D8A.
Hex to द्विआधारी and द्विआधारी to Hex
Hex to binary conversion replaces each hex digit with its 4-bit binary equivalent, then joins the groups in order. Hex 2AA converts to binary 0010 1010 1010, since 2 is 0010, and A is 1010 in each of the remaining 2 positions.
द्विआधारी to hex conversion groups binary digits into sets of 4 starting from the right, padding the leftmost group with zeros when it has fewer than 4 digits, then converts each group to its hex digit. द्विआधारी 1010101010 converts to hex 2AA, using the same grouped values in reverse.
Hex to Octal
Hex to octal conversion runs through binary as a middle step: convert the hex value to binary, regroup the binary digits into sets of 3 from the right, then convert each 3-digit group to its octal digit. Hex FF converts to octal 377: FF is binary 11111111, grouped as 011 111 111, which reads as 3, 7, 7.
Hex to Integer
Hex to integer conversion reads a hex value as either an unsigned or a signed integer, depending on the data type width. An unsigned 8-bit hex value ranges from 00 to FF, or 0 to 255 in decimal. A signed 8-bit hex value uses two’s complement, so 00 to 7F represents 0 to 127, while 80 to FF represents -128 to -1. Hex FF as an unsigned 8-bit integer equals 255, but as a signed 8-bit integer it equals -1.
The same signed and unsigned rules extend to 16-bit, 32-bit, and 64-bit integers, across more hex digits: 4 hex digits for 16-bit, 8 hex digits for 32-bit, and 16 hex digits for 64-bit.
हेक्साडेसिमल Calculation—Add, Subtract, Multiply, or Divide
Hex arithmetic follows the same rules as decimal arithmetic, with 2 adjustments: digits above 9 use letters A through F, and carrying or borrowing moves in units of 16 rather than 10.
Hex Addition
Add hex digits the same way you add decimal digits, converting letters to their decimal values when needed, then carry any amount of 16 or more into the next column. Example: B (11) + 8 = 19 in decimal, which equals 13 in hex. Write down 3, carry 1 into the next column.
Hex Subtraction
जब शीर्ष अंक निचले अंक से छोटा हो, तो अगले कॉलम से 16 उधार लेते हुए, हेक्स अंक वाले कॉलम को कॉलम दर कॉलम घटाएं। उदाहरण: 5D1C - 3AF में, सबसे दाहिने कॉलम को C (12) - F (15) की आवश्यकता है, जो नकारात्मक है, इसलिए कॉलम अगले अंक से 16 उधार लेता है: 16 + 12 - 15 = 13, या D।
Hex Multiplication
Multiply hex digits using their decimal equivalents, convert each partial product back to hex, then add the partial products together following normal hex addition. A hexadecimal multiplication table removes the need to convert on every step.
Hex Division
Divide hex numbers using long division, performing each multiplication and subtraction step in hex rather than decimal. Borrowing during subtraction still moves in units of 16.
हेक्साडेसिमल गुणन तालिका
| × | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | A | B | C | D | E | F |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | A | B | C | D | E | F |
| 2 | 2 | 4 | 6 | 8 | A | C | E | 10 | 12 | 14 | 16 | 18 | 1A | 1C | 1E |
| 3 | 3 | 6 | 9 | C | F | 12 | 15 | 18 | 1B | 1E | 21 | 24 | 27 | 2A | 2D |
| 4 | 4 | 8 | C | 10 | 14 | 18 | 1C | 20 | 24 | 28 | 2C | 30 | 34 | 38 | 3C |
| 5 | 5 | A | F | 14 | 19 | 1E | 23 | 28 | 2D | 32 | 37 | 3C | 41 | 46 | 4B |
| 6 | 6 | C | 12 | 18 | 1E | 24 | 2A | 30 | 36 | 3C | 42 | 48 | 4E | 54 | 5A |
| 7 | 7 | E | 15 | 1C | 23 | 2A | 31 | 38 | 3F | 46 | 4D | 54 | 5B | 62 | 69 |
| 8 | 8 | 10 | 18 | 20 | 28 | 30 | 38 | 40 | 48 | 50 | 58 | 60 | 68 | 70 | 78 |
| 9 | 9 | 12 | 1B | 24 | 2D | 36 | 3F | 48 | 51 | 5A | 63 | 6C | 75 | 7E | 87 |
| A | A | 14 | 1E | 28 | 32 | 3C | 46 | 50 | 5A | 64 | 6E | 78 | 82 | 8C | 96 |
| B | B | 16 | 21 | 2C | 37 | 42 | 4D | 58 | 63 | 6E | 79 | 84 | 8F | 9A | A5 |
| C | C | 18 | 24 | 30 | 3C | 48 | 54 | 60 | 6C | 78 | 84 | 90 | 9C | A8 | B4 |
| D | D | 1A | 27 | 34 | 41 | 4E | 5B | 68 | 75 | 82 | 8F | 9C | A9 | B6 | C3 |
| E | E | 1C | 2A | 38 | 46 | 54 | 62 | 70 | 7E | 8C | 9A | A8 | B6 | C4 | D2 |
| F | F | 1E | 2D | 3C | 4B | 5A | 69 | 78 | 87 | 96 | A5 | B4 | C3 | D2 | E1 |
🔢 हेक्स अंकगणित
(191)
Common हेक्साडेसिमल Values
| Hex | दशमलव | द्विआधारी | ASCII |
|---|---|---|---|
| 00 | 0 | 00000000 | NUL |
| 0A | 10 | 00001010 | LF (newline) |
| 20 | 32 | 00100000 | Space |
| 30 | 48 | 00110000 | 0 |
| 41 | 65 | 01000001 | A |
| 61 | 97 | 01100001 | a |
| 7F | 127 | 01111111 | DEL |
| FF | 255 | 11111111 | Extended byte |
These 8 values appear often because they mark boundaries: 00 is the null byte, 20 is the space character that separates words in ASCII, 41 starts the uppercase alphabet, 61 starts the lowercase alphabet, and FF marks the highest single-byte value.
🗺️ ASCII Map Explorer
Hex to Text, ASCII, and UTF-8
Hex to text conversion splits the hex string into 2-character byte pairs, converts each pair to its decimal value, then reads those bytes as characters. Hex 48656C6C6F decodes to “Hello,” since 48 is H, 65 is e, 6C is l, 6C is l, and 6F is o.
Hex to ASCII follows the same byte-pair method, but ASCII only covers byte values 0 through 127, or 00 to 7F in hex. Hex to UTF-8 extends this for byte values above 7F, where the converter reads 2, 3, or 4 hex bytes together to decode a single character.
🗺️ ASCII Map Explorer
Text to Hex
Text to hex conversion converts each character to its byte value using its character encoding, then writes each byte value as a 2-character hex pair. Text “Hi” converts to hex 4869, since H equals decimal 72 (hex 48) and i equals decimal 105 (hex 69).
Hex to Base64
Hex to Base64 conversion regroups the raw bytes a hex string represents into sets of 3 bytes (24 bits), splits each 24-bit group into four 6-bit segments, then maps each 6-bit segment to one of 64 Base64 characters (A-Z, a-z, 0-9, +, /). Hex 48656C6C6F, which is 5 bytes, converts to Base64 SGVsbG8=, with padding added when the byte count doesn’t divide evenly by 3.
Hex Color Conversions
A hex color code is a 6-character hex value that represents a color using 2 digits each for red, green, and blue. The code FF5733 represents a red-orange color: FF (255) red, 57 (87) green, and 33 (51) blue.
Hex to RGB
Hex to RGB conversion splits a 6-character hex color into 3 pairs, then converts each pair to its decimal value. Hex FF5733 converts to RGB(255, 87, 51), following the red, green, blue pair order.
Hex to HSL
Hex to HSL conversion extracts the RGB values first, then calculates hue, saturation, and lightness from the relative brightness and range of the RGB channels. Hue is measured in degrees from 0 to 360, while saturation and lightness are both measured as percentages from 0 to 100.
Hex to HSV
Hex to HSV conversion also starts from the extracted RGB values, then calculates hue, saturation, and value (brightness). HSV differs from HSL in how it defines brightness: HSV’s value channel tracks the highest of the 3 RGB channels directly, while HSL’s lightness averages the highest and lowest channels.
Hex to CMYK
Hex to CMYK conversion extracts RGB first, then converts the RGB values into cyan, magenta, yellow, and key (black) percentages for print use. CMYK values are subtractive, meaning they describe how much ink absorbs light, while RGB and hex values are additive, describing how much light a screen emits.
Hex to Pantone
Hex to Pantone conversion matches a hex color against the closest entry in the Pantone Matching System (PMS) library, since Pantone uses named ink formulations rather than a mathematical RGB or CMYK formula. The match is an approximation: 2 different hex values can map to the same Pantone swatch, and print output can vary from the on-screen hex preview depending on paper stock and printing process.
Hex in Blockchain
Blockchain systems store nearly all raw data in hex format. Transaction identifiers, block hashes, addresses, and smart contract data all use hex because it maps directly to the underlying bytes without losing structure.
Transaction IDs
बिटकॉइन लेनदेन आईडी (txid) एक 64-वर्ण वाली हेक्स स्ट्रिंग है। यह क्रमबद्ध लेनदेन के दोहरे SHA-256 हैश का प्रतिनिधित्व करता है, जिसे पठनीयता के लिए 32 कच्चे बाइट्स से हेक्स रूप में संपीड़ित किया जाता है।
Block Hashes
एक ब्लॉक हैश भी एक 64-वर्ण वाली हेक्स स्ट्रिंग है, जो 80-बाइट ब्लॉक हेडर को SHA-256 के साथ दो बार हैश करके निर्मित किया जाता है। बिटकॉइन के प्रूफ-ऑफ-वर्क कठिनाई लक्ष्य के लिए हैश को एक सीमा से नीचे गिरने की आवश्यकता होती है, जिसका हेक्स शब्दों में मतलब है कि हैश को अग्रणी शून्य की एक निर्धारित संख्या से शुरू होना चाहिए।
Addresses and Public Keys
एक बिटकॉइन सार्वजनिक कुंजी संपीड़ित रूप में 33 बाइट्स या असंपीड़ित 65 बाइट्स है, जिसे बेस58चेक या बेच32 प्रारूप में रूपांतरण से पहले हेक्स में दिखाया गया है। एथेरियम एड्रेस 0x उपसर्ग के साथ 40-वर्ण की हेक्स स्ट्रिंग (20 बाइट्स) है।
ऑपकोड और स्क्रिप्ट
Bitcoin Script uses single-byte opcodes referenced by their hex values. A standard Pay-to-Public-Key-Hash script reads 76 A9 14 [hash] 88 AC in hex, where 76 is OP_DUP, A9 is OP_HASH160, 88 is OP_EQUALVERIFY, and AC is OP_CHECKSIG.
Smart Contract Data
एथेरियम स्मार्ट कॉन्ट्रैक्ट लेनदेन के इनपुट क्षेत्र में हेक्स डेटा के रूप में एन्कोड करता है। पहले 4 बाइट्स एक फ़ंक्शन चयनकर्ता बनाते हैं, जो फ़ंक्शन हस्ताक्षर के केकैक-256 हैश से प्राप्त होता है। एक ERC-20 ट्रांसफर() कॉल चयनकर्ता 0xA9059CBB से शुरू होती है।
⛓️ Transaction Anatomy
01000000
01
7b1eabe0209b1fe794124575ef807057c77ada2138ae4fa8d6c4de0398a14f3f
00000000
494830450221008949…
ffffffff
Hover over fields to decode the raw hex transaction bytes.
Hex in Programming and Data
हेक्साडेसिमल shows up across 6 common programming and data tasks beyond basic number conversion: floating-point encoding, byte order handling, bitwise operations, machine code inspection, raw file analysis, and identifier generation.
Hex to IEEE 754
Hex to IEEE 754 conversion reads a hex value as a floating-point number using the IEEE 754 standard, which splits the bits into a sign bit, an exponent, and a mantissa. A 32-bit (single-precision) float uses 1 sign bit, 8 exponent bits, and 23 mantissa bits. The hex value 3F800000 converts to the floating-point value 1.0 under this standard.
Hex Endian Converter
A hex endian converter reverses the byte order of a hex value between big-endian and little-endian formats. Big-endian stores the most significant byte first; little-endian stores the least significant byte first. The 4-byte hex value 12345678 in big-endian becomes 78563412 in little-endian, since the byte sequence reverses while each byte’s own 2 digits keep their order.
Hex XOR Calculator
A hex XOR calculator applies the bitwise XOR operation to 2 hex values, comparing them bit by bit and returning 1 where the bits differ and 0 where they match. Hex FF XOR 0F equals F0, since every bit position where the 2 values disagree produces a 1.
Hex to Assembly
Hex to assembly conversion, also called disassembly, translates raw machine code bytes back into readable assembly instructions for a specific processor architecture. Each hex opcode maps to one instruction mnemonic, such as MOV, ADD, or JMP, though the exact mapping depends on the instruction set: x86, ARM, or another architecture.
हेक्स डंप कनवर्टर
A hex dump converter takes a binary file and displays its raw bytes in hex format, usually alongside an ASCII column showing the printable character for each byte. Hex dumps let developers inspect file headers, verify file signatures, and debug binary data without a specialized parser for every file type.
Hex to UUID
Hex to UUID conversion formats a 32-character (16-byte) hex value into the standard UUID pattern: 8-4-4-4-12 hex digits separated by hyphens, such as 550E8400-E29B-41D4-A716-446655440000. A UUID is a 128-bit value used to identify records or objects with a near-zero chance of collision across systems.
Conversion Reference
| Hex | दशमलव | द्विआधारी | ASCII |
|---|---|---|---|
| 00 | 0 | 00000000 | NUL |
| 0A | 10 | 00001010 | LF |
| 30 | 48 | 00110000 | 0 |
| 41 | 65 | 01000001 | A |
| 61 | 97 | 01100001 | a |
| 7F | 127 | 01111111 | DEL |
| FF | 255 | 11111111 | — |
📚 ASCII Control Chars
| Hex | दशमलव | द्विआधारी | ASCII |
|---|---|---|---|
| 00 | 0 | 00000000 | NUL |
| 0A | 10 | 00001010 | LF |
| 30 | 48 | 00110000 | 0 |
| 41 | 65 | 01000001 | A |
| 61 | 97 | 01100001 | a |
| 7F | 127 | 01111111 | DEL |
| FF | 255 | 11111111 | — |
क्रिप्टो में सामान्य हेक्स मान
| Hex Value | Name | Context |
|---|---|---|
| 0x76 | OP_DUP | Duplicates the top stack item |
| 0xA9 | OP_HASH160 | Applies SHA-256 then RIPEMD-160 |
| 0xAC | OP_CHECKSIG | Verifies a signature |
| 0x6A | OP_RETURN | Marks an output as unspendable |
| 0x88 | OP_EQUALVERIFY | Checks equality and verifies |
| 0xAE | OP_CHECKMULTISIG | Verifies a multisig condition |
| 0xA9059CBB | transfer(address,uint256) | ERC-20 function selector |
| 0x095EA7B3 | approve(address,uint256) | ERC-20 function selector |
| 0x70A08231 | balanceOf(address) | ERC-20 function selector |
🪙 Web3 & Bitcoin Ops
| Hex Value | Name | Context |
|---|---|---|
| 0x76 | OP_DUP | Duplicates the top stack item |
| 0xA9 | OP_HASH160 | Applies SHA-256 then RIPEMD-160 |
| 0xAC | OP_CHECKSIG | Verifies a signature |
| 0x6A | OP_RETURN | Marks an output as unspendable |
| 0x88 | OP_EQUALVERIFY | Checks equality and verifies |
| 0xAE | OP_CHECKMULTISIG | Verifies a multisig condition |
| 0xA9059CBB | transfer(address,uint256) | ERC-20 function selector |
| 0x095EA7B3 | approve(address,uint256) | ERC-20 function selector |
| 0x70A08231 | balanceOf(address) | ERC-20 function selector |
Hex vs Other Number Systems
| Property | द्विआधारी (Base-2) | Octal (Base-8) | दशमलव (Base-10) | Hex (Base-16) |
|---|---|---|---|---|
| Digits used | 0, 1 | 0-7 | 0-9 | 0-9, A-F |
| Bits per digit | 1 | 3 | ~3.32 | 4 |
| One byte requires | 8 digits | 3 digits | 1-3 digits | 2 digits |
| Common prefix | 0b | 0o | None | 0x |
| 255 expressed as | 11111111 | 377 | 255 | FF |
| Primary use | Logic gates, bit flags | Unix permissions | Everyday arithmetic | Memory, crypto, colors |
📊 Base Comparison
HEX
2 chars
FF
हमारे विशेष उपकरणों का अन्वेषण करें
सीएमवाईके से हेक्स कनवर्टर
हेक्स डंप कनवर्टर
हेक्स एंडियन कनवर्टर
हेक्स आईईईई 754 कन्वर्टर
हेक्स हस्ताक्षरित/अहस्ताक्षरित कनवर्टर
हेक्स से ASCII कन्वर्टर
हेक्स से असेंबली कनवर्टर
हेक्स से बेस64 कनवर्टर
हेक्स से बीसीडी कनवर्टर
HEX से CMYK कनवर्टर
हेक्स से ईबीसीडीआईसी कनवर्टर
HEX से HSL कनवर्टर
HEX से HSV कनवर्टर
हेक्स से आईपी एड्रेस कनवर्टर
हेक्स से मैक एड्रेस कनवर्टर
हेक्स से ओकेएलसीएच कनवर्टर
हेक्स से पैनटोन कनवर्टर
हेक्स से पीसीएपी कनवर्टर
HEX से RAL कनवर्टर
HEX से RGB कनवर्टर
HEX से RGBA कनवर्टर
हेक्स से UF2 कन्वर्टर
हेक्स से यूनिकोड कनवर्टर
हेक्स से यूटीएफ-8 कन्वर्टर
हेक्स यूयूआईडी कनवर्टर
हेक्स XOR कैलकुलेटर
एचएसएल से हेक्स कनवर्टर
एचएसवी से हेक्स कनवर्टर
आरजीबी से हेक्स कनवर्टर
Frequently Asked Questions
What is hexadecimal?
हेक्साडेसिमल is a base-16 number system that uses 16 symbols: the digits 0 through 9 and the letters A through F. Each hex digit represents 4 binary digits, so 2 hex digits always equal 1 byte. Computers use hex to display raw data in a form that stays short and readable.
What is a hex converter?
A hex converter is a tool that translates a value between hexadecimal and another number format, such as decimal, binary, octal, or text. You enter a value in one field, and the tool returns the equivalent value in the target format within the same step.
मैं हेक्स को दशमलव में कैसे परिवर्तित करूं?
Multiply each hex digit by 16 raised to its position, then add the results together. The hex value 1A3 converts to decimal 419: (1 × 256) + (10 × 16) + (3 × 1) = 256 + 160 + 3 = 419.
How do I convert decimal to hex?
Divide the decimal number by 16, record the remainder as a hex digit, then repeat the division on the quotient until the quotient reaches 0. Reading the remainders in reverse order gives the hex value. दशमलव 1500 converts to hex 5DC using this method: 1500 ÷ 16 = 93 remainder 12 (C), 93 ÷ 16 = 5 remainder 13 (D), 5 ÷ 16 = 0 remainder 5. Reading the remainders backward gives 5DC.
How do I convert hex to binary?
प्रत्येक हेक्स अंक को उसके 4-बिट बाइनरी समकक्ष से बदलें, फिर समूहों को क्रम से एक साथ जोड़ें। हेक्स मान 2AA बाइनरी 0010 1010 1010 में परिवर्तित हो जाता है, क्योंकि 2 0010 है, और शेष दो पदों में से प्रत्येक में A 1010 है।
How do I convert binary to hex?
बाइनरी अंकों को 4 के सेट में समूहित करें, दाईं ओर से शुरू करें, सबसे बाएं समूह में शून्य डालें यदि इसमें 4 से कम अंक हैं, तो प्रत्येक समूह को उसके हेक्स अंक में परिवर्तित करें। बाइनरी मान 1010101010 हेक्स 2एए में परिवर्तित हो जाता है: 0010 1010 1010 के रूप में समूहीकृत किया जाता है, जिसे 2, ए, ए के रूप में पढ़ा जाता है।
How do I convert hex to octal?
पहले हेक्स मान को बाइनरी में बदलें, फिर बाइनरी अंकों को दाईं ओर से 3 के सेट में दोबारा समूहित करें, फिर 3 के प्रत्येक समूह को उसके ऑक्टल अंक में बदलें। हेक्स मान FF ऑक्टल 377 में परिवर्तित हो जाता है: FF बाइनरी 11111111 है, जिसे 011 111 111 के रूप में समूहीकृत किया गया है, जिसे 3, 7, 7 के रूप में पढ़ा जाता है।
मैं हेक्स को टेक्स्ट में कैसे परिवर्तित करूं?
हेक्स स्ट्रिंग को 2-वर्ण बाइट जोड़े में विभाजित करें, प्रत्येक जोड़े को उसके दशमलव मान में बदलें, फिर उन बाइट्स को ASCII या UTF-8 का उपयोग करके वर्णों के रूप में पढ़ें। हेक्स स्ट्रिंग 48 65 6सी 6सी 6एफ का डिकोड “हैलो” है, क्योंकि 48 एच है, 65 ई है, 6सी एल है, 6सी एल है, और 6एफ ओ है।
मैं हेक्स को ASCII में कैसे परिवर्तित करूं?
हेक्स को टेक्स्ट में हेक्स की तरह ही ASCII में बदलें: हेक्स स्ट्रिंग को बाइट जोड़े में विभाजित करें, प्रत्येक जोड़े को दशमलव में बदलें, फिर उस दशमलव मान को ASCII तालिका से मिलाएं। ASCII केवल 0 से 127 (हेक्स में 00 से 7F) के बाइट मानों को कवर करता है, इसलिए 7F से ऊपर का कोई भी बाइट मानक ASCII के बाहर आता है और इसके बजाय UTF-8 डिकोडिंग की आवश्यकता होती है।
मैं हेक्स को यूटीएफ-8 में कैसे परिवर्तित करूं?
बाइट मान 00 से 7F के लिए, हेक्स से UTF-8 रूपांतरण बिल्कुल हेक्स से ASCII की तरह काम करता है, प्रति वर्ण 1 बाइट के साथ। 7F से ऊपर के बाइट मानों के लिए, UTF-8 मल्टी-बाइट अनुक्रमों का उपयोग करता है, इसलिए कनवर्टर एकल वर्ण को सही ढंग से डिकोड करने के लिए 2, 3, या 4 हेक्स बाइट्स को एक साथ पढ़ता है।
मैं टेक्स्ट को हेक्स में कैसे परिवर्तित करूं?
प्रत्येक वर्ण को उसके वर्ण एन्कोडिंग का उपयोग करके उसके बाइट मान में बदलें, फिर प्रत्येक बाइट मान को 2-वर्ण हेक्स जोड़ी के रूप में लिखें। पाठ “हाय” हेक्स 48 69 में परिवर्तित हो जाता है, क्योंकि एच दशमलव 72 (हेक्स 48) के बराबर है और आई दशमलव 105 (हेक्स 69) के बराबर है।
हेक्स और बाइनरी के बीच क्या अंतर है?
बाइनरी 2 प्रतीकों (0 और 1) का उपयोग करता है, जबकि हेक्स 16 प्रतीकों (0-9 और ए-एफ) का उपयोग करता है। एक हेक्स अंक हमेशा 4 बाइनरी अंकों के बराबर होता है, इसलिए हेक्स एक चौथाई वर्णों का उपयोग करके समान डेटा का प्रतिनिधित्व करता है। हेक्स में बाइट 0xFF बाइनरी में 11111111 है।
What does the 0x prefix mean?
0x उपसर्ग किसी मान को दशमलव के बजाय हेक्साडेसिमल के रूप में चिह्नित करता है। इसके बिना, “10” दस (दशमलव) और सोलह (हेक्स) के बीच अस्पष्ट है। उपसर्ग सी प्रोग्रामिंग भाषा में शुरू हुआ और अब अधिकांश प्रोग्रामिंग भाषाओं और ब्लॉकचेन प्रोटोकॉल में दिखाई देता है। एथेरियम पते में हमेशा 0x उपसर्ग होता है; बिटकॉइन आमतौर पर नहीं होता.
Can hexadecimal numbers contain letters?
हां, हेक्साडेसिमल संख्याओं में 6 अक्षर होते हैं: ए, बी, सी, डी, ई और एफ। ये अक्षर 10 से 15 तक दशमलव मानों का प्रतिनिधित्व करते हैं, जो 16-प्रतीक प्रणाली में दशमलव के 10 एकल-अंकीय प्रतीकों (0-9) द्वारा छोड़े गए अंतर को भरते हैं।
क्या हेक्साडेसिमल केस-संवेदी है?
No, hexadecimal letters are not case-sensitive for their numeric value. FF and ff both equal decimal 255, and most converters accept either case or a mix of both. One exception exists in Ethereum, where address checksums encode extra information in the letter casing, so changing the case of an Ethereum address can invalidate its checksum even though the underlying value stays the same.
How many bytes are in a hexadecimal value?
A hexadecimal value contains 1 byte for every 2 hex digits, since each hex digit represents 4 bits and a byte holds 8 bits. A 2-character value like FF is 1 byte, a 4-character value like 1A3F is 2 bytes, and a 64-character value, common for cryptographic hashes, is 32 bytes.
Can hex values contain spaces?
नहीं, रॉ हेक्स एन्कोडिंग में डेटा के हिस्से के रूप में रिक्त स्थान शामिल नहीं हैं। पठनीयता के लिए कभी-कभी बाइट जोड़े के बीच रिक्त स्थान या कोलन जोड़े जाते हैं, जैसे 48 65 6C 6C 6F या 48:65:6C:6C:6F। अधिकांश हेक्स रूपांतरण उपकरण मूल्य को संसाधित करने से पहले इन विभाजकों को स्वचालित रूप से हटा देते हैं।
How large can a hex number be?
There is no fixed limit on the size of a hex number. Blockchain applications commonly use 32-byte (256-bit) values for hashes and 20-byte (160-bit) values for addresses. A 32-byte hex string runs 64 characters long and can represent numbers up to roughly 1.16 × 10⁷⁷ in decimal, which requires arbitrary-precision arithmetic to convert without rounding errors.
What is hexadecimal used for in blockchain?
हेक्साडेसिमल represents nearly all raw blockchain data, including transaction IDs, block hashes, public keys, addresses, Script opcodes, and smart contract calldata. Hex maps directly to binary data, with 2 hex characters equal to 1 byte, which keeps low-level protocol data compact and readable at the same time.
ब्लॉकचेन खोजकर्ता हेक्स में डेटा क्यों दिखाते हैं?
Blockchain explorers show data in hex because hex preserves the exact byte structure without interpretation. Opcodes, version bytes, address prefixes, and hash outputs stay visible and verifiable in hex. दशमलव would obscure the byte-level structure, and binary would take up too much space to read.
मैं ग़लत हेक्स रूपांतरण का निवारण कैसे कर सकता हूँ?
Check 5 common sources of error when a hex conversion looks wrong: leading or trailing whitespace in the input, an unremoved 0x prefix, byte order (endianness) mismatched between big-endian and little-endian reads, signed versus unsigned interpretation of the same bits, and a dropped leading zero that shifts every digit’s position. Comparing the value against a known conversion table entry, such as FF equaling 255, isolates which of these 5 causes applies.