Skip to content

age

Small command-line file encryption tool and Go library with explicit keys

Permissive (OSI) · BSD-3-Clause
  • macOS
  • Linux
  • CLI

Listed by , founder & editor

39

Health

Slowing

Overview

Stars

24,447

Last commit

3 months ago

Aug 2026

Repository age

7 years

since May 2019

Latest version

v1.3.2

Aug 2026

Contributors

–

8 active in 90 days

Releases

3

last 12 months

Language

Go

age encrypts and decrypts files from the command line. It has a published format specification, a Go library, and a design with small explicit keys and no configuration options. It follows UNIX conventions, so you can pipe data through it, for example from tar into age and out to a file.

You generate a key pair with age-keygen, then encrypt to one or more recipients. A recipient can be an age public key or an SSH public key (ed25519 or RSA). You can also encrypt with a passphrase. Output can be armored in a PEM-style text format. Post-quantum support is included, and hardware PIV tokens such as YubiKeys work through a plugin.

Other implementations exist: rage in Rust and Typage in TypeScript, which runs in browsers, Node.js, Deno and Bun. Packages are available for Homebrew, winget, apt, dnf, pacman, apk and more, plus prebuilt binaries for Windows, Linux, macOS and FreeBSD. It is BSD-3-Clause licensed. It suits people who would otherwise reach for GnuPG for simple file encryption.

Who it's for

Developers encrypting backups and secrets in scripts

Piping and a few flags make it easy to drop into shell pipelines.

Skip if: You need email signing or a web of trust, which age does not provide.

Teams that already use SSH keys

You can encrypt to a person's existing SSH public key without issuing new keys.

Skip if: Your keys are of a type other than ed25519 or RSA.

Go developers adding file encryption to an app

The same code is available as a Go library with a documented format.

Skip if: You need an encryption library with configurable ciphers.

The problem it solves

Encrypting a file with older tools often means dealing with keyrings, many options and confusing defaults. age reduces that to generating a key, naming a recipient and running one command.

Strengths

  • Encrypts to age keys, SSH keys or a passphrase
  • Published format spec with Rust and TypeScript implementations
  • Post-quantum support and YubiKey support via a plugin
  • Packaged for many Linux distributions, BSDs, macOS and Windows
  • Prebuilt binaries come with Sigsum proofs you can check

Trade-offs

  • No configuration options by design, so you cannot tune algorithms
  • Encryption only; it does not sign messages
  • Maintenance has slowed, with 3 releases in the last year
  • Hardware token support needs a separate plugin

Self-host age

Self-hostable
No (desktop or local app)
Hosted plan
From $4/month · pricing

Quick start

go install filippo.io/age/cmd/...@latest

From the project's own install instructions. Check the docs for production settings.

In the community

Frequently asked questions

Is age free and open source?

Yes. It is licensed under BSD-3-Clause.

Can I encrypt to an SSH key?

Yes. Recipients can be age public keys or SSH public keys of type ssh-ed25519 or ssh-rsa.

Which platforms does it run on?

Linux, macOS, Windows and FreeBSD, with prebuilt binaries, and it is packaged for OpenBSD and many Linux distributions.

Can I use it as a library?

Yes. It is also a Go library, and a TypeScript implementation named Typage runs in browsers and Node.js.

Similar tools in Encryption tools

Cryptomator

Encryption tools

Client-side encryption for cloud folders, using vaults that act as virtual drives

17k 1.5k 4 days ago Thriving GPL-3.0

KeyStore Explorer

Encryption tools

Desktop GUI for managing Java keystores, certificates and JAR signing

2.1k 326 yesterday Active GPL-3.0

XCA

Encryption tools

Desktop app for running a private certificate authority and managing x509 keys

2k 261 8 days ago Slowing BSD-3-Clause

Cryptsetup

Encryption tools

Linux disk encryption tool for LUKS volumes that can also open BitLocker drives

851 374 4 days ago Active Unknown

Gpg Frontend

Encryption tools

Desktop OpenPGP tool for encrypting, signing and managing keys with GnuPG or Rust rPGP

810 62 4 days ago Active GPL-3.0

certs-maker

Encryption tools

One-shot Docker tool that generates self-signed TLS certificates for dev and homelab use

243 41 42 days ago Slowing MIT