Drag and Drop Decimal file here
or click to select a .txt fileOr type/paste Decimal values below:
Conversion Options
Space SeparatedDecimal values are separated by spaces
Comma SeparatedDecimal values are separated by commas
Line by LineConvert each line separately
Include DecimalShow decimal values with HEX results
Add 0x PrefixAdd 0x prefix to HEX values
Uppercase HEXDisplay HEX values in uppercase
Note: This tool converts decimal (base-10) values to their hexadecimal (base-16) representation.
About This Decimal to HEX Converter
This tool converts decimal values to their hexadecimal representation. Each decimal number is converted to its equivalent HEX value, with options to control how the values are separated and displayed. The tool automatically skips invalid decimal numbers while converting.
How to Use This Tool
Step-by-Step Guide:
- Step 1: Input your decimal values using either:
- Drag and drop a .txt file containing decimal values
- Click to browse and select a file
- Type or paste decimal values directly into the text box
- Step 2: Select your desired conversion options
- Step 3: Click "Convert to HEX" to process your values
- Step 4: Review your converted HEX values in the output box
- Step 5: Use the results by copying or downloading
Conversion Options Explained:
- Space Separated: Values are separated by spaces (e.g., "26 43 60")
- Comma Separated: Values are separated by commas (e.g., "26,43,60")
- Line by Line: Converts each line separately, maintaining line breaks
- Include Decimal: Shows the original decimal values alongside HEX results
- Add 0x Prefix: Adds 0x prefix to HEX values
- Uppercase HEX: Displays HEX values in uppercase (A-F)
Example Conversion:
Input: 26 43 60 Output: 0x1A 0x2B 0x3C Input: 26,43,60 Output (include decimal): 26(0x1A), 43(0x2B), 60(0x3C) Input: 1715004 Output: 0x1A2B3C