⚡
XMLDevCon
🔒 100% Client-Side
⚡ XMLDevCon

JSON & XML

• JSON Viewer & Formatter• JSON Tree Explorer• JSON Validator• XML Formatter & Validator• XML Validator• XML ↔ JSON Converter

Converters

• XML ↔ JSON Converter• JSON ↔ YAML Converter• HTML ↔ JSX Converter• Base64 Converter• JavaScript to TypeScript

Formatters & Dev

• XML Formatter• JSON Viewer• TypeScript Generator• JS to TypeScript• Chmod Calculator• .htaccess Generator• Hreflang Generator

Code & Schema

• JSON to TypeScript• TypeScript to JSON• JSON to Zod Schema• Zod to JSON• JSON to Mongoose• Mongoose to JSON• HTML ↔ JSX• TS to JS Transpiler

Security

• Secure JWT Decoder• Bcrypt Generator• Bcrypt Verifier

🔒 100% Client-Side & Offline Ready

Tool

Chmod Calculator

Use checkboxes to calculate UNIX file permissions octal and symbolic values.

Owner / User

Group

Others / Public

Octal Mode
755
chmod 755 filename
Symbolic Notation
drwxr-xr-x

Chmod Calculator — Developer Guide

UNIX File Permissions Explained

UNIX-like operating systems (Linux, macOS) use a permissions system to restrict file and directory access. Permissions are divided into three user classes:

  • Owner (User): The creator of the file.
  • Group: A collection of users associated with the file.
  • Others (Public): Any other user on the system.

Each class has three permissions:

  • Read (r): Permission to view file contents.
  • Write (w): Permission to modify the file.
  • Execute (x): Permission to run the file as a program.

Understanding Octal Values

Octal values represent permissions as three-digit numbers:

  • Read (r) = 4
  • Write (w) = 2
  • Execute (x) = 1

To calculate the value for a user class, sum the active permissions. For example, read (4) and write (2) equals 6. Summing these values for Owner, Group, and Others generates the final chmod command (e.g. chmod 755 filename).


Step-by-Step Guide: How to Use this Tool

  1. Toggle the checkboxes for User, Group, and Others.
  2. The octal and symbolic values will calculate automatically.
  3. Copy the generated chmod command to apply permissions in your terminal.

Frequently Asked Questions

Owner has read/write/execute (7), Group has read/execute (5), and others have read/execute (5).