Privvert - private browser-based file toolsPrivvert

Tallbase

Bin / oct / dec / hex

Om dette verktøyet

Convert numbers between decimal (base 10), hexadecimal (base 16), binary (base 2) and octal (base 8). Useful for low-level programming, embedded development, color values, bit-twiddling, networking masks, and reading hex dumps.

Privvert updates all four bases live as you type in any of them. Includes a per-bit breakdown so you can see exactly which bits are set. Runs in your browser.

Funksjoner

  • Decimal, hexadecimal, binary, octal
  • Live four-way conversion as you type
  • Per-bit breakdown of binary representation
  • Up to 64-bit unsigned integers
  • Browser-only - values never uploaded
  • Free and unlimited
  • Shows the value's width in bits and whether it fits in a signed 32-bit int

Slik bruker du det

  1. Type a number in any base.
  2. Read the others update live.
  3. (Optional) inspect the bit breakdown.
🔒 100 % privat

Alt skjer inne i nettleseren din med JavaScript og WebAssembly. Filene dine lastes aldri opp, lagres aldri og ses aldri av oss.

Ofte stilte spørsmål

Is there a size limit?

Up to 64-bit integers (about 1.8 × 10^19). JavaScript numbers lose precision beyond 2^53, so very large values may round; the tool uses BigInt internally to avoid that for the bases that matter.

How do I write hex in code?

Most languages use 0x prefix (0xFF in JavaScript, C, Java) or # for colors (#FF0000). The tool shows the raw hex digits - add your language's prefix when pasting back.

What about negative numbers?

Currently unsigned integers only. Two's-complement signed display is on the roadmap.

Can I convert IPv4 addresses?

Use the CIDR tool for IP-specific conversions. This tool is for raw integer values.

Why is my negative number showing huge unsigned values?

Negative numbers in binary and hex are represented as two's complement, so -1 in 32-bit binary is 0xFFFFFFFF. The converter shows both the signed and unsigned interpretation of the bit pattern so you can see exactly what's happening.

Does it support arbitrary precision?

Up to JavaScript's BigInt range, which is effectively unlimited. You can convert numbers far larger than any standard 64-bit integer and get exact results in any base.