Number base converter
parseInt loses precision past 2^53, which is exactly where this tool gets used: permission masks, 64-bit ids, hash fragments. Those need exact arithmetic, not a float.
Values are parsed into a BigInt digit by digit in the source base, so a 128-bit number converts without dropping digits. Binary is grouped in fours and can be zero-padded to 8, 16, 32 or 64 bits for reading bit flags.
Runs entirely in this tab. Nothing you paste is uploaded, logged or stored — close the page and it is gone.
Questions about this tool
Why not just use parseInt?
Because it converts to a double and silently loses precision above 2^53. A 64-bit value converts to the wrong number with no error, which is the worst possible failure.
Does it handle fractional values?
No. The input must be a whole number in the selected base. Fractional base conversion is a different problem with its own rounding questions.
What is the bit view for?
Reading flags. Grouped in fours with optional zero padding, a permission mask like 0o755 or a status bitfield becomes readable instead of a wall of ones and zeros.
AI alternatives from the directory
Browse coding tools →This utility handles the job by hand. These do it with a model — worth a look when the task outgrows copy and paste.
The AI-first code editor
Built on VS Code, Cursor offers codebase-aware chat, multi-file edits and fast autocomplete for real engineering work.
Free AI autocomplete for every language
A fast, free completion and chat tool that plugs into 40+ editors with strong privacy options.
Your AI pair programmer
Inline suggestions, chat and agentic edits inside your IDE, backed by OpenAI and trained on public code.