WikiPlus

Conversor de Base Numérica

Converta números entre sistemas binário, octal, decimal e hexadecimal. 100% grátis, funciona no seu navegador.

Processamento local
1.4s em média
4.8 de 5 — com base em 1,247 usos

Por Sergio Robles — Fundador

Binário (2)-
Octal (8)-
Decimal (10)-
Hexadecimal (16)-
Seus arquivos são processados localmente no seu navegador. Nunca enviamos ou armazenamos seus dados.

O que é Conversor de Base Numérica?

A ferramenta Number Base converte valores entre binario, octal, decimal, hex e qualquer base de 2 a 36. Ela usa matematica BigInt. Assim chaves criptograficas, IDs de 64 bits e numeros enormes convertem sem erros de arredondamento. O resultado aparece na hora. Roda no seu navegador. Nenhum valor sai do seu aparelho. A ferramenta le inteiros com sinal em complemento de dois. Aceita os prefixos 0x, 0b e 0o na entrada. Agrupa digitos de saida para leitura facil. Estudantes de computacao usam para exercicios de binario. Devs de firmware decodificam dumps de registradores. Admins de rede checam mascaras de sub-rede entre binario e decimal. Analistas de seguranca decodificam flags de CTF. Times de criptografia verificam conversoes hex para binario ida e volta.

Quando devo usar esta ferramenta?

  • Converter valores RGB decimais em hexadecimal para definições de cor em CSS
  • Traduzir flags binárias para decimal durante a depuração de firmware embarcado
  • Ler endereços de memória exibidos em hex durante o desenvolvimento em C
  • Ensinar alunos de computação como a aritmética binária se relaciona com decimal

Como converter números entre bases numéricas?

  1. 1Digite seu numero no campo de entrada da base de origem.
  2. 2Escolha o sistema de origem, como binario ou decimal.
  3. 3Escolha o sistema de destino para o resultado.
  4. 4Veja os resultados em binario, octal, decimal e hex de uma vez.
  5. 5Copie qualquer resultado da sua linha de saida com um clique.

Perguntas frequentes

Quais bases numericas o conversor suporta?

The converter supports all four bases most commonly used in computing: binary (base 2), octal (base 8), decimal (base 10), and hexadecimal (base 16), plus a free-entry mode where you can specify any radix from base 2 through base 36. Binary uses only the digits 0 and 1 and is the native language of every CPU and digital circuit. Octal uses digits 0–7 and appears in Unix file permission strings (chmod 755), legacy network addresses, and some embedded systems contexts. Decimal is the everyday base humans use. Hexadecimal uses digits 0–9 and letters A–F and is ubiquitous in web color codes, memory addresses, cryptographic hashes, and bytecode representations. Bases beyond 16 use further letters of the Latin alphabet up to Z, giving base 36 a compact notation that some URL shorteners, serial numbers, and encoding schemes employ. All conversions run entirely in your browser using JavaScript's built-in parseInt for parsing and Number.prototype.toString for rendering — no data leaves your device. The converter accepts uppercase and lowercase letters interchangeably for bases above 10 and strips whitespace automatically so you can paste values directly from terminal output or source code. Practical tip: when working with hex color codes, remember that CSS accepts the shorthand three-digit form #RGB where each digit is doubled — #A3F expands to #AA33FF — so convert the six-digit form before doing arithmetic on the individual channel values.

A ferramenta lida com numeros negativos e frações?

Yes, the tool handles both negative numbers and fractional values within defined limits. For negative integers, you can prefix the input with a minus sign and the converter will produce the correctly signed representation in the target base, showing the minus sign explicitly rather than using two's complement notation unless you specifically request the raw bit pattern. Two's complement is a hardware-level encoding where the sign is embedded in a fixed-width integer; the converter's default signed representation is more portable and readable across contexts. For fractional values, the tool converts the integer and fractional parts separately. The integer portion is converted using standard repeated-division, while the fractional portion is converted using repeated multiplication by the target radix — the same algorithm taught in computer science courses. One important caveat is that many fractions that terminate cleanly in decimal do not terminate in binary or other bases. The decimal fraction 0.1, for example, requires an infinitely repeating pattern in binary (0.0001100110011…), so the converter applies a configurable precision limit, defaulting to 20 fractional digits, to avoid infinite loops. All processing happens locally in your browser — no data leaves your device. If you need exact rational arithmetic rather than floating-point approximations, consider representing your values as fractions (numerator/denominator) in decimal and converting the integers separately for maximum precision. Practical tip: when converting negative hex values from a disassembler or debugger output, check the bit width of the register (8, 16, 32, or 64 bits) so you correctly interpret two's complement into the right signed decimal range.

Por que eu precisaria converter entre bases?

Base conversion is a practical daily task for anyone working in software development, hardware design, networking, or digital security. The most common scenario is reading and writing memory addresses: debuggers, disassemblers, and CPU datasheets express addresses in hexadecimal because a 32-bit address fits neatly into 8 hex digits, far more compactly than 10 decimal digits or 32 binary digits. HTML and CSS color codes are another everyday case — #FF5733 is easier to type than its decimal or binary equivalents, yet you need decimal when doing color arithmetic or interpolating between shades. Network engineers convert between decimal and binary when subnetting IPv4 addresses, since CIDR notation like /24 means 24 contiguous binary 1-bits in the subnet mask. Embedded and systems programmers read binary literals directly to understand which hardware bits a register write is toggling. Octal appears in Unix/Linux file permissions: chmod 644 translates to binary 110 100 100, meaning owner read-write, group read, others read. Cryptographers inspect SHA or MD5 hashes expressed in hex. Game developers use powers of two to set bitmask flags. All of these tasks become instant with a base converter, eliminating manual pencil-and-paper arithmetic. Everything runs locally in your browser — no data leaves your device. Practical tip: memorize the hex-to-binary lookup table for single digits (0=0000, F=1111) so you can mentally convert hex to binary in chunks of four bits, which is much faster than converting the whole number at once.

Qual o maior numero que posso converter?

The converter handles arbitrarily large integers using JavaScript's BigInt type, which was introduced in ES2020 and is supported in all modern browsers including Chrome 67+, Firefox 68+, Safari 14+, and Edge 79+. Unlike the standard Number type, which is a 64-bit IEEE 754 double-precision float and loses integer precision above 2^53 − 1 (about 9 quadrillion), BigInt stores integers with exact precision regardless of size. This means you can convert 256-bit cryptographic keys, 128-bit UUIDs, arbitrarily large SHA-512 hashes, or any integer your use case requires without rounding errors. In practice the only limit is your browser's available memory and the time you are willing to wait — very large numbers with thousands of digits will convert in a fraction of a second on modern hardware. For fractional values, standard JavaScript floating-point arithmetic is used, which introduces the usual IEEE 754 precision limits; if you need exact fraction conversion beyond roughly 15 significant decimal digits, split the number into its integer and fractional parts and handle them separately. All computation runs entirely in your browser — no data leaves your device. The input field accepts any string of valid digits for the chosen base and raises a clear error if an invalid character is detected, such as a digit 2 in a binary field. Practical tip: when pasting large hex hashes from security tools, first remove any spaces or colons that packet capture software inserts as separators — the converter will then parse the contiguous hex string correctly.

O conteudo desta pagina esta disponivel sob CC BY 4.0.