Chmod Symbolic Converter

Type an octal number or a symbolic string like rwxr-xr-x in either box and both update instantly, special bits included.

Accepts the 9-character form or the 10-character ls -l form with a leading file-type character.

3 digits for owner/group/other, or 4 digits with a leading setuid/setgid/sticky digit.

Permission checkboxes

Read Write Execute Special

Result

Octal
000
Symbolic
----------
Command
chmod 000 filename

Summary

Type an octal number or a symbolic string like rwxr-xr-x in either box and both update instantly, special bits included.

How it works

  1. Type a symbolic string like rwxr-xr-x into the symbolic field, including a leading file-type character copied from ls -l output such as -rwxr-xr-x.
  2. Or type an octal number like 755 into the octal field, or 4755 to include a special bit.
  3. Both fields, the checkbox grid, and the chmod command update to match whichever one you last edited.
  4. Toggle the read, write, execute checkboxes, or the setuid, setgid, sticky checkboxes, for the same live update.
  5. Click "Copy command" to copy the full chmod command for the current permission set.

Use cases

  • Convert a symbolic string copied from ls -l output into the octal number needed for a chmod command.
  • Work out what a four-digit octal mode with a leading special-bit digit actually grants.
  • Set the setgid bit on a shared directory so new files inherit the group.
  • Set the sticky bit on a shared writable directory like /tmp so only file owners can delete their own files.
  • Check a deployment script that sets permissions with a symbolic string before running it.
  • Teach how setuid, setgid, and sticky bits appear as s, S, t, or T in the execute position.

Frequently Asked Questions

Last updated: 2026-07-22 · Reviewed by Nham Vu