Encoding & Decoding

Unix Permissions Converter (Octal ↔ Symbolic)

Convert between octal Unix file modes (such as 0755) and symbolic forms from ls -l (such as -rwxr-xr-x), including multi-line lists. Useful for scripting and reviewing permission dumps locally in the browser.

UnixPermissionsLinux
Quick switch:Chmod Calculator

Favorite this tool

No favorite storage mode has been selected.

Quick actions

Copy this tool URL or open the system share sheet on a supported device.

Use cases

  • Turn ls -l output into chmod-friendly octal modes
  • Check whether a batch of files uses expected modes like 0644
  • Translate script octal modes back to symbolic rwx form

How to use

  1. Paste octal modes or symbolic permission lines
  2. Review the converted output (invalid lines are marked INVALID)
  3. Copy the result

Example input and output

Symbolic

-rwxr-xr-x

Octal

0755

FAQ

What happens to invalid lines?

Lines that are not standard 3/4-digit octal or rwx symbolic forms are marked INVALID so you can spot them quickly.

Does a leading file-type character break conversion?

Leading type markers such as d or - are tolerated for common ls -l forms when converting symbolic modes to octal.

Tools

Related tools

Continue with another translated tool for a nearby task.

Chmod Calculator

Chmod Calculator — Linux Permission Converter

Available

Toggle read, write, and execute bits to convert between octal and symbolic chmod formats, with example commands for scripts, directories, and recursive changes.

chmod Linux Permissions