age

age encrypts files from the command line using recipient keys or a passphrase.

Developer Filippo Valsorda

Version 1.3.2 · Open source · Windows · macOS · Linux

Looking for an alternative to age?Compare Gpg4win.Compare alternatives
Use it to protect a file before storing or sending it, then decrypt it with the matching identity or passphrase. Its small command set works well in scripts and terminal workflows.

If you need an encrypted vault for files in a synchronised folder, compare the different workflow offered by Cryptomator.

When it is useful

age fits workflows where a file needs protection before it is copied to another machine or storage location. Recipient-based encryption lets someone send you an encrypted file using your public recipient string, while the secret identity needed to open it stays with you. Passphrase mode is useful for a one-off archive when exchanging public keys would be inconvenient. These are different ways to unlock a file, so decide which recovery information you can reliably keep.

A practical way to get started

Try a harmless text file first. Create an identity, record its public recipient separately, encrypt the sample and decrypt it to a different filename. Compare the result before applying the process to important documents. For a folder, create an archive first; age encrypts a stream or file rather than presenting a browsable encrypted drive. Keep a recoverable copy of the secret identity away from the only encrypted copy of your data.

What to consider before choosing

Encryption does not remove the original plaintext, schedule backups or prove who sent a document. Choose output names carefully and check which files you intend to share. If you lose the required identity or passphrase, there is no account-reset workflow to recover the contents. For routine editing inside an encrypted folder, a vault application may require fewer manual steps than repeatedly encrypting and decrypting individual files.

Which software suits you?

Compare age with alternatives

Looking for an alternative? See what the other apps can do and check whether they support your device.

Differences between age and Gpg4win
SoftwareWhat can it do?Platform and licence
ageYou are viewing this app age encrypts files from the command line using recipient keys or a passphrase. Windows, macOS, LinuxOpen source
Gpg4winView this alternative For Windows users who prefer OpenPGP file encryption and graphical key management with Kleopatra; the formats differ from age. WindowsOpen source

Choose an alternative to explore its features, system requirements and download options.

Who is it for?

Technical users who want focused file encryption without a graphical interface.

Getting started

Download the correct official binary, place it on your PATH and practise encrypting and decrypting a test file.

Privacy

Encryption protects the file contents, but the original plaintext remains unless you manage it separately.

Good to know

This is a command-line tool, not a password manager or a cloud storage service.

Please note

Keep the decryption key or passphrase safe; losing it can make the encrypted file unrecoverable.

Advantages

  • Recipient or passphrase encryption
  • Useful in scripts

Things to consider

  • Requires key management

Download age

The download page opens in a new tab.

Version history

1.3.2

Changes in version 1.3.2.

Version 1.3.2 hardens input handling, rejects malformed SSH keys and improves terminal output safety.
Report a new version

Is there a newer version of age? Send the version number and a link to the official announcement. Our editors will check it. No login is required.

Our verdict

A straightforward file-encryption tool for users comfortable managing keys and terminal commands.

Ratings

No ratings yet. Share your experience.

Log in to rate this software.

Comments

Share your experience. Comments appear after approval.

No comments yet.