chmod 400

Only the owner can read. Nobody can write, including the owner (without changing the mode).

Local: yes. Your input stays on your device and is not sent to an external service for this tool.

Applies to
Permissions
ReadWriteExecuteValue
Owner
Group
Others
Special bits:

Calculated on your device.

What chmod 400 means

400 (r--------) protects a secret from accidental edits as well as from other users. AWS, for example, asks for downloaded .pem key files to be set to 400 before using them with SSH.

Adjust the checkboxes above to see how a different mode compares, or go back to the chmod calculator.

Other common values

Frequently asked questions

Is this tool free?

Yes. The core tool is free to use in your browser.