Number Base & Code Converters
47 tools in this collection — free, instant, and private in your browser.
This collection brings together a broad set of specialized converters that serve developers, engineers, designers, and students across disciplines that do not fit neatly into a single physical quantity. At its core are the number base converters — tools for switching between binary (base 2), decimal (base 10), and hexadecimal (base 16). These are foundational in computing: processors operate in binary, memory addresses and color codes are expressed in hexadecimal, and humans think in decimal, so moving between all three is a daily task for programmers and computer science students.
The color converters and tools form a closely related group. Hexadecimal color codes are the language of the web, but designers often work in RGB, CMYK (used in print), or HSL. Tools like CMYK to RGB, Color Temperature to RGB, and the Color Contrast Checker address the practical gap between design intent and technical implementation. The Color Contrast Checker is an accessibility tool: it measures whether two colors have sufficient contrast ratio to meet WCAG guidelines for users with visual impairments.
The remaining tools cover physical and practical conversions that fall outside the major unit families. AWG Wire Gauge conversion is critical in electrical work, where gauge numbers run counterintuitively — a lower AWG number means thicker wire. The Drill Bit Size Converter translates between fractional inch, metric, and letter or number drill sizes. Density, Force, Acceleration, and Frequency converters serve engineering and physics coursework. The Bra Size Converter handles sizing differences between US, UK, European, and other international standards.
- For coding and computer science: Binary to Decimal, Decimal to Hex, Binary to Hex, and their reverses.
- For web and graphic design: CMYK to RGB, Color Shades Generator, Color Mixer, and the Contrast Checker.
- For trades and engineering: AWG Wire Gauge, Drill Bit Size, Density, and Force converters.
Although these tools are diverse, the common thread is precision: each converts between systems that use incompatible scales or conventions, where a small error can mean a failed circuit, an inaccessible website, or a mismatched part.
All number base & code converters
All converter tools →Compare these tools
| Tool | What it does |
|---|---|
| AWG Wire Gauge Converter | Convert AWG wire gauge numbers to diameter in mm and cross-sectional area in mm². |
| Acceleration Converter | Convert acceleration between m/s², cm/s², ft/s², standard gravity (g), and Gal. |
| Analogous Colors Calculator | Find the two analogous colors adjacent to your hex color on the HSL color wheel. |
| Binary to Decimal | Convert binary numbers to decimal instantly. |
| Binary to Hex | Convert binary to hexadecimal instantly. |
| Bra Size Converter | Convert US bra sizes to UK and EU equivalents. Enter US band size and cup letter. |
| CMYK to RGB Color Converter | Convert CMYK color values to RGB for use on screen or in web design. |
| Color Contrast Checker | Check the WCAG contrast ratio between two hex colors and see whether the pair passes AA and AAA accessibility standards. |
| Color Mixer | Blend two hex colors together with a configurable weight to get a mixed hex color. |
| Color Shades Generator | Generate a palette of 5 lighter tints and 5 darker shades from any hex color. |
| Color Temperature to RGB | Convert a light color temperature in Kelvin (1000K–12000K) to an approximate RGB color, as used in photography and lighting design. |
| Complementary Color Calculator | Find the complementary (opposite) color on the color wheel for any hex color. |
| Decimal to Binary | Convert decimal numbers to binary instantly. |
| Decimal to Hex | Convert decimal to hexadecimal instantly. |
| Density Converter | Convert density between kg/m³, g/cm³, g/mL, kg/L, lb/ft³, and lb/in³. |
| Drill Bit Size Converter | Convert fractional inch drill bit sizes to millimetres. Covers 1/16" through 1/2". |
| Force Converter | Convert force between newtons, kilonewtons, meganewtons, pound-force, kilogram-force, and dynes. |
| Frequency Converter | Convert frequency between hertz, kilohertz, megahertz, gigahertz, terahertz, and RPM. |
| Glove Size Converter | Convert glove sizes between US/UK and EU. Also shows the equivalent label (S, M, L, XL). |
| HSL to RGB Color Converter | Convert HSL (hue, saturation, lightness) color values to RGB instantly. |
| HSV to RGB Color Converter | Convert HSV (hue, saturation, value/brightness) color values to RGB. |
| Hat Size Converter | Convert head circumference in cm to US hat size, EU cm hat size, and UK hat size. |
| Hex Opacity Calculator | Convert an opacity percentage to its 2-digit hex alpha suffix for use in 8-digit CSS hex colors (#rrggbbaa). |
| Hex to Decimal | Convert hexadecimal to decimal instantly. |
| Hex to HSL Color Converter | Convert a CSS hex color code to HSL (hue, saturation, lightness) in one click. |
| Hex to HSV Color Converter | Convert a CSS hex color to HSV (hue, saturation, value/brightness) for use in design and image software. |
| Hex to Normalized RGB Converter | Convert a hex color to normalized RGB float values (0.0–1.0) for use in WebGL, GLSL shaders, and 3D graphics. |
| Hex to RGBA Color Converter | Convert a CSS hex color (#rrggbb or #rgb) to an RGBA value with a custom alpha channel. Free, instant. |
| Illuminance Converter | Convert illuminance between lux, foot-candles, phots, and nox. |
| Integer to RGB Converter | Unpack a 24-bit integer (0xRRGGBB) into its red, green, and blue channel values. |
| Jewelry Gauge Converter | Convert jewelry gauge numbers to diameter in mm and find out which piercings they suit. |
| Men's Shoe Size Converter | Convert men's shoe sizes between US, EU, UK, and foot length in cm instantly. |
| Named CSS Color to Hex | Look up the hex value of any named CSS color (e.g. 'tomato', 'steelblue', 'rebeccapurple'). |
| Number Base Converter | Convert integers between decimal, binary, octal, and hexadecimal number systems. |
| Paper Size Converter | Look up paper dimensions for A0–A6, Letter, and Legal sizes in mm and inches. |
| RGB to CMYK Color Converter | Convert RGB color values to CMYK (cyan, magenta, yellow, key/black) for print design. |
| RGB to HSL Color Converter | Convert RGB color values to HSL (hue, saturation, lightness) instantly. Free, no signup. |
| RGB to Integer Converter | Pack RGB color values into a single 24-bit integer (used in many graphics APIs and game engines). |
| Relative Luminance Calculator | Calculate the WCAG relative luminance of any hex color. Used in contrast ratio calculations for web accessibility. |
| Ring Size Converter | Convert ring sizes between US, UK letter, EU number, and inside diameter in mm. |
| Sandpaper Grit Guide | Select a sandpaper grit number (P40–P2000) to see the recommended use case and application. |
| Tint, Shade & Tone Calculator | Compute a tint (mix with white), shade (mix with black), or tone (mix with grey) of any hex color. |
| Tire Size Converter | Convert tire sizes (width, aspect ratio, rim diameter) to sidewall height and overall diameter in mm and inches. |
| Torque Converter | Convert torque between newton-metres, newton-centimetres, kilonewton-metres, pound-force feet, pound-force inches, and kilogram-force metres. |
| Triadic Colors Calculator | Find the three triadic colors evenly spaced (120° apart) around the color wheel from your hex color. |
| Women's Clothing Size Converter | Convert women's clothing sizes between US, EU, and UK. Covers XS through XXL. |
| Women's Shoe Size Converter | Convert women's shoe sizes between US, EU, UK, and foot length in cm instantly. |
Frequently asked questions
- How do I convert a decimal number to hexadecimal?
- Repeatedly divide the decimal number by 16 and record the remainders, using letters A through F for remainders 10 through 15. Read the remainders from bottom to top to get the hex value. For example, decimal 255 becomes FF in hexadecimal. The Decimal to Hex converter does this instantly for any value.
- What does AWG mean and why do higher numbers mean thinner wire?
- AWG stands for American Wire Gauge, a standard used to specify wire diameter in the United States. The scale was originally based on the number of drawing steps needed to produce the wire: more draws produce thinner wire, so a higher gauge number means a narrower diameter. AWG 14 is common for household circuits; AWG 22 is typical for signal wiring.
- What is the WCAG color contrast ratio, and why does it matter?
- The Web Content Accessibility Guidelines (WCAG) require a contrast ratio of at least 4.5:1 between text and its background for normal-sized text to be readable by people with low vision or color blindness. A ratio of 3:1 is the minimum for large text. The Color Contrast Checker calculates this ratio from two color values so designers can verify compliance before publishing.