Decimal to Hex

Your data never leaves your browser

Convert decimal numbers (base-10) to hexadecimal (base-16).

Brie — Bug Reporting Tool

Found a bug while testing?

Brie captures screenshots, console logs, network data, and session replays in one click — so developers get the full context without the back-and-forth.

About Decimal to Hex

Enter one or more decimal integers and convert them to hexadecimal. Hex is ubiquitous in programming: HTML color codes, memory addresses, byte values, and more all use hex notation.

How to use

  1. Enter one decimal number per line in the input panel.
  2. The hexadecimal equivalent appears instantly in the output panel.
  3. Click Copy to copy the results to your clipboard.

More Number / Base Conversion

Frequently Asked Questions

FAQs about Decimal to Hex

What is hexadecimal?

Hexadecimal (hex) is a base-16 number system using digits 0–9 and letters A–F. It is compact: two hex digits represent one byte (0–255).

Why do programmers use hex?

Hex is more compact than binary and maps cleanly to binary (4 bits per hex digit). It is used for memory addresses, color codes (#RRGGBB), byte values, and checksums.

What is 255 in hexadecimal?

255 decimal = FF hexadecimal. This is the maximum value of one byte and corresponds to pure red/green/blue in HTML color codes (#FF0000, #00FF00, #0000FF).

Does this tool output uppercase hex?

Yes. This tool outputs uppercase hex digits (A–F) for consistency with common programming conventions.

Can I convert multiple numbers at once?

Yes. Enter one decimal number per line and the tool will convert each one individually.