---
title: "Chmod Calculator"
method: POST
path: "/api/v1/tools/chmod-calculator"
tags: ["tools"]
---

# Chmod Calculator

`POST /api/v1/tools/chmod-calculator`

## Request

- Base URL: `https://toolforte.com`
- URL: `https://toolforte.com/api/v1/tools/chmod-calculator`
- Auth: HTTP bearer

Convert Unix file permissions between octal (755) and symbolic (rwxr-xr-x) form. Returns both, a read/write/execute breakdown for owner, group and others, and the chmod command to apply them.

## Request body

- object
  - `permissions` string

## Response `200`

Successful result

- object
  - `ok` boolean
  - `data` object
    - `input` string
    - `octal` string
    - `symbolic` string
    - `owner` object
      - `read` boolean
      - `write` boolean
      - `execute` boolean
      - `octal` integer
      - `symbolic` string
    - `group` object
      - `read` boolean
      - `write` boolean
      - `execute` boolean
      - `octal` integer
      - `symbolic` string
    - `others` object
      - `read` boolean
      - `write` boolean
      - `execute` boolean
      - `octal` integer
      - `symbolic` string
    - `command` string

## Other responses

- `400`: Missing or invalid request fields
- `401`: Invalid or missing API key
- `429`: Monthly plan limit reached

---

[API](https://skmtc.dev/toolforte/apis/toolforte-api.md) · [All operations](https://skmtc.dev/toolforte/apis/toolforte-api/llms.txt) · [OpenAPI document](https://skmtc.dev/toolforte/apis/toolforte-api/revisions/4d814d484dfc?raw)
