# age

> A simple, modern and secure file encryption tool, format, and Go library

Source: https://talira.ai/catalog/age-pf0sjkan
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool, Library
- Categories: [security / encryption](https://talira.ai/categories/security/encryption)
- Platforms: macos, linux, windows[^5]
- Licence: BSD-3-Clause[^6]
- Pricing: Free and open source[^6]
- Free tier: yes[^6]
- Self-hostable: yes[^5]
- Plugins: yes[^5]
- Creator: Filippo Valsorda (FiloSottile)

age is a file encryption tool, file format and Go library with small explicit keys, no config options and UNIX-style composability: `age-keygen` makes a key pair, `age -r` encrypts to one or more recipients, and `age -d` decrypts. It can encrypt with a passphrase, to SSH ed25519 and RSA public keys (so to a [GitHub](https://talira.ai/catalog/github-ppcgj756.md) user's keys), and since v1.3.0 to hybrid post-quantum keys; plugins add hardware tokens such as YubiKeys, and `age-inspect` shows a file's metadata without decrypting it. The format is specified at age-encryption.org/v1, with interoperable Rust (rage) and [TypeScript](https://talira.ai/catalog/typescript-w0asrgz8.md) (typage) implementations. Designed by Filippo Valsorda (@FiloSottile) and @benjojo; BSD-3-Clause.

## Links

- Website: https://age-encryption.org
- GitHub: https://github.com/FiloSottile/age

## Ways to install

### Package managers

- [WinGet](https://talira.ai/catalog/winget-g927bz13.md): <https://github.com/microsoft/winget-pkgs/tree/master/manifests/f/FiloSottile/age>[^1]
- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/age>[^2]
- [APT](https://talira.ai/catalog/apt-d7essv0z.md): <https://packages.debian.org/stable/age>[^3]
- [mise](https://talira.ai/catalog/mise-0axr08xw.md): <https://mise-versions.jdx.dev/tools/age>[^4]

## Problems it solves

- encrypt a file for a colleague without setting up GPG keyrings and trust
- encrypt a backup tarball in a shell pipeline before uploading it
- encrypt a file so several people can each decrypt it with their own key
- encrypt a secret for someone using the SSH public key they already have on GitHub
- protect a file with a passphrase from the command line
- use encryption that stays safe against future quantum computers for long-lived files
- decrypt files with a key stored on my YubiKey
- add simple file encryption with small keys to my Go program

## Features

- small explicit keys (`age1...`)
- multiple recipients and recipient files
- passphrase encryption with autogenerated passphrases
- encrypt to ssh-ed25519 and ssh-rsa public keys
- hybrid post-quantum keys (`age-keygen -pq`)
- plugins such as age-plugin-yubikey
- `age-inspect` for file metadata
- ASCII armor (PEM) output
- Go library
- documented format specification

## Limitations

- Doesn't decrypt with keys held in ssh-agent: SSH private keys must be given as files[^5]

## Capabilities

- Has a command line tool: plan not known
- Takes plugins: plan not known
- Has official SDKs: plan not known

## Trust

Overall: 0.66 out of 1.
Signals: maintenance 0.76, adoption 0.88, momentum 0.74, community 0.72, backing 0.20, extensibility 0.40.

- last commit 2 months ago
- 46 commits in the last 90 days
- latest release v1.3.2 2 months ago
- 24.4k GitHub stars
- 62 contributors
- accepts sponsorship (Custom)
- created by Filippo Valsorda (FiloSottile)
- has a plugin system

## Alternatives

- [GnuPG](https://talira.ai/catalog/gnupg-xzgcsn0s.md): The GNU Privacy Guard: a free, complete implementation of OpenPGP for encrypting and signing data
- [SOPS](https://talira.ai/catalog/sops-c54epjg9.md): Simple and flexible tool for managing secrets
- [git-crypt](https://talira.ai/catalog/git-crypt-qf6kk0w2.md): Transparent file encryption in git
- [Cryptomator](https://talira.ai/catalog/cryptomator-0qfb7rh5.md): Client-side encryption for your cloud storage

## Sources

[^1]: https://github.com/FiloSottile/age/blob/main/README.md (checked 20 Nov 2026)
[^2]: https://formulae.brew.sh/api/formula.json (checked 21 Nov 2026)
[^3]: https://deb.debian.org/debian/dists/stable/main/source/Sources.xz (checked 21 Nov 2026)
[^4]: https://mise-versions.jdx.dev/tools.json (checked 21 Nov 2026)
[^5]: https://github.com/FiloSottile/age (checked 19 Nov 2026)
[^6]: https://github.com/FiloSottile/age/blob/main/LICENSE (checked 19 Nov 2026)
