Unix File Permissions Converter
Convert an Octal Permission Value Into Decimal or Binary
Need to use Unix File Permissions Converter right now?
A chmod value like 755 is octal notation, and understanding exactly what permissions it grants means breaking each digit down into its binary read/write/execute bits. This tool converts the value across bases instantly to help make sense of it.
Features
- Runs entirely in your browser
- Privacy-first — your data is never uploaded
- Real-time, instant results
- 100% free, no sign-up required
- Works on desktop, tablet, and mobile
- No installation needed
Who uses this tool?
About Unix File Permissions Converter
The number base (or radix) a value is written in determines what each digit position actually represents — decimal (base 10), the system almost everyone thinks in day to day, uses ten digits (0-9) and each position represents a power of ten. Computing relies heavily on two other bases: binary (base 2), using only 0 and 1, which directly mirrors the on/off electrical states at the hardware level, and hexadecimal (base 16), using 0-9 plus A-F, which packs four binary digits into a single hex digit, making it a compact, human-friendly way to represent binary data (which is why hex shows up constantly in color codes, memory addresses, and byte-level data inspection). Octal (base 8) is less common today but still appears in specific contexts like Unix file permission notation (`chmod 755`).
This tool converts a number between all four bases simultaneously and live — type a value into any one field, and the other three update instantly to show the exact same numeric value expressed in their respective base. Each input field validates that you're only entering digits valid for that specific base (for example, the binary field only accepts 0 and 1, rejecting anything else), which prevents the confusing situation of accidentally typing an invalid digit for the base you're working in.
This is genuinely useful across a range of programming and computer science contexts: converting a decimal byte value (0-255) to see its hex representation for a color code or memory address, understanding what a hexadecimal or octal literal in source code actually equals in ordinary decimal terms, or working through binary arithmetic and number system concepts while learning computer science fundamentals.
The underlying conversion uses JavaScript's native number parsing and formatting (`parseInt` with a radix argument, and `toString` with a radix argument), the same reliable, standard base-conversion logic built into virtually every programming language, ensuring the results match exactly what you'd get computing the same conversion in code.
How it works
- Type a number in any field. Enter a value in binary, octal, decimal, or hexadecimal.
- See all bases update live. The other three fields instantly show the same value in their respective base.
Examples
Converting decimal 255
Input
Decimal: 255
Output
Binary: 11111111 · Octal: 377 · Hex: FF