Hide encrypted messages in photos and text

StegPony encrypts a message or a file and hides it in the fine detail of an ordinary photo, or in text you can paste anywhere. Nothing in the file marks it: no header, no marker, no fixed layout, and without the right passphrase or key the image is just a photo. How hard it is to detect depends on how much you hide, and the app rates that before you hide it.

Version 1.0.0 for Android 8.0 or later. Free and open source. F-Droid is coming. Check your download

StegPony on Android: step 1 of Hide, with a cover photo picked and JPEG selected.
Pick a cover
StegPony on Android: the Done screen with a low detectability rating and Save and Share buttons.
Hidden and rated

How it works

  1. Pick a cover

    Take a photo with StegPony's camera, or pick one you took yourself and haven't shared anywhere.

  2. Write the message

    Type text or pick a file. The capacity meter shows how much fits and how detectable the result would be.

  3. Lock it

    Use a passphrase or someone's public key. Add a decoy under a second passphrase if you want one.

  4. Send the file

    Send the image as a file or document. The recipient opens it in StegPony with the passphrase or their key.

Screenshots

Review step listing the cover, the format, what to hide, the lock and the decoy, with a low detectability rating.
ReviewCover, format, lock and decoy on one page, with the detectability rating, before anything is written.
A revealed message with a Copy button and a note that the clipboard clears after 60 seconds.
RevealOpen a hidden message with the passphrase or your key. A copied message clears from the clipboard after a minute.
Keys screen with one key created on the phone, Create a key and Import buttons, and two contacts.
KeysYour own keys and your contacts, with a QR code for sharing a public key.
Settings screen with Help, Language and the App lock switch.
SettingsHelp, seven languages, app lock and the other privacy switches.

Features

Hiding

JPEG photos
The message goes into the photo's own compressed data, so it stays a JPEG with your camera's compression, like any other photo from your phone.
Lossless PNG
For images that were PNGs to begin with, such as screenshots and graphics.
Text
As a run of ordinary words that reads as nonsense, or as invisible characters inside a message you write. Both hold far less than a photo and are labelled honestly in the app.
Detectability rating
Low, medium or high, from tests with a standard detector on real phone photos, shown before you hide.
Files too
Hide any file that fits, including an age or PGP file from AgePony or PGPony.

Keys

Passphrases
Stretched with Argon2id, so guessing is slow.
Public keys
Hide for someone's age key or Curve25519 OpenPGP key; only their secret key opens it.
Hardware keys
Open hidden messages with an OpenPGP card over NFC or USB. The secret stays on the card.
Contacts and QR codes
Add contacts by QR code, by pasting a key, from a file, or shared in from another app such as PGPony.

On your phone

Decoy
A second message under a second passphrase. Nobody can tell whether an image has one.
No network access
The app has no internet permission at all.
App lock and screenshot blocking
Fingerprint, face or screen lock to open the app. Reveal and Keys always block screenshots.
Launcher disguise
Show the app as Photo Tools, Notes or Utilities in the launcher. It slows down a casual look; the real name still shows in Android's app settings.
Cover reuse warning
StegPony remembers fingerprints of covers you've used, on the phone only, and warns before one is used again.
Metadata removed
Location, time and device details are stripped from the output by default.

Sending the image

What's hidden survives only if the file arrives unchanged. These are the results so far, from real sends.

How you send itResultNotes
As a file or document, by email, USB, RelayPony or cloud storage that keeps files unchangedWorksThe file arrives byte for byte, which is all StegPony needs. Some cloud and photo services re-save images, so check yours.
Telegram photoNot yetTelegram re-saves photos, which destroys what's hidden.
WhatsApp or Signal photoNot yetBoth recompress photos. Measurements so far show they need an error-tolerant mode, which is planned for after version 1.0.
Hidden text in a messageDepends on the appWords survive as long as no word is changed, so watch for autocorrect. Many apps remove invisible characters, so send yourself a test first.

Never send or post the original photo as well. Anyone holding both can compare them.

What StegPony can't protect against

Hiding lowers the odds of being noticed; it doesn't make them zero. The app's Help says the same thing in more detail.

  • Someone who has the original photo you hid in.
  • A detector trained on photos from your own camera, especially with a lot hidden.
  • Someone who knows StegPony is installed and insists on a second passphrase.
  • A forensic examination of your unlocked phone.
  • Anyone who sees whom you send images to, and when. StegPony hides what you send, not that you sent it.

Technical details

Envelope
Passphrase
Argon2id, 128 MiB, 3 passes, 4 lanes
Public key
X25519 with Elligator 2, HKDF-SHA256
Encryption
ChaCha20-Poly1305
Layout
No header, no length or version in the clear; padded to fixed sizes
Slots
Two in every carrier: payload plus decoy or random filler
Embedding
Code
Ternary syndrome-trellis code
JPEG
AC coefficients, J-UNIWARD costs, no re-encoding
PNG
Pixel values, HILL costs
Text
4,096-word English list, or zero-width characters
Positions
Keyed permutation from the passphrase, or from the recipient's public key in public-key mode (anyone with that key can find the positions, not read them)
App
Platform
Android 8.0 or later, arm64-v8a and x86_64
Core
StegPonyCore, in Rust, written to be shared across platforms
Permissions
Camera (in-app photos and QR codes) and NFC (hardware keys); no internet
Keys at rest
Encrypted with an Android Keystore key, left out of backups
License
Apache-2.0

Source code

Everything is open source. The format is written down, with test vectors, so the scheme can be checked on its own.

FAQ

Can anyone tell that a photo has something hidden in it?
Not from the file format: there is no header, marker or fixed layout, and without the right secret the image is just a photo. Steganalysis can still notice statistical traces, more easily the more you hide in a small or flat photo. That is what the detectability rating is for: keep it low by hiding little in a large, detailed photo.
Why can't I send the image as a normal photo in WhatsApp or Signal?
Messengers recompress photos to save data, and recompression rewrites the fine detail the message is hidden in. Send the image as a file or document instead. Measurements so far show WhatsApp, Signal and Telegram need an error-tolerant mode, which is planned for after version 1.0.
What is the decoy?
Every image and every text has room for two hidden messages. The second one is either a decoy under its own passphrase or random filler, and the two look the same. If someone forces you to open an image, you can give them the decoy passphrase.
Does it work with my age or PGP keys?
Yes, for X25519 keys. An age recipient or identity works directly, and a Curve25519 OpenPGP key (cv25519 or X25519) can be imported from a file or shared in from PGPony. RSA and NIST-curve keys cannot be used.
Can I open hidden messages with a hardware key?
Yes, with an OpenPGP card (such as a YubiKey, Nitrokey or Token2) holding a Curve25519 decryption key, over NFC or USB. The key exchange happens on the card, so its secret never leaves it. A Nitrokey 3 works over USB only, because its OpenPGP app is switched off over NFC.
Is there an iPhone or desktop version?
Not yet. Android comes first; the format and the core are platform-neutral, so other versions can follow.
Where do I get it?
Version 1.0.0 is a signed APK, downloadable from this site and from the GitHub release, with its SHA-256 and an OpenPGP signature. F-Droid is coming: the build is reproducible, so the F-Droid version will carry the same signature and the two can update each other.

Download

StegPony 1.0.0 was released on November 20, 2026. The APK is signed, with an OpenPGP signature beside it, and the same file is on GitHub.

Android 8.0 or later · 10.2 MB · arm64-v8a and x86_64

  • The first release. StegPony encrypts a message or a file and hides it inside an ordinary photo, or inside text.
  • Without the right passphrase or key there is nothing to find: no header, no marker, and no way to tell a photo with something hidden from one without.
  • Hides text or a file in a JPEG, which stays a JPEG with the camera's own compression, or in a PNG.
  • Locks it with a passphrase, or with someone's public key so that only their secret key opens it.
  • Adds a decoy if you want one: a second message under a second passphrase, to give up if someone makes you open the image. Nobody can tell whether an image has one.
  • Shows a detectability rating (low, medium, high) before you hide, with a meter that marks where each rating begins.
  • Takes the cover photo with its own camera, so the photo is never saved anywhere else, and warns when a photo was used before or looks like a download or a messenger copy.
  • Hides in text when a photo can't be sent, as a run of ordinary words or as invisible characters inside a message you write.
  • Reveals with a passphrase, your saved keys, a pasted secret key, or an OpenPGP hardware key over NFC or USB. Tested with a Token2 PIN+, and with a Nitrokey 3A NFC over USB.
  • Uses age-compatible keys. Imports age identities and Curve25519 OpenPGP keys from PGPony or GnuPG, and adds contacts by QR code, file, paste or share.
  • Has an app lock, blocks screenshots on sensitive screens, clears the clipboard after a minute, and offers a launcher disguise.
  • Comes in English, German, Spanish, French, Brazilian Portuguese, Russian and Simplified Chinese, switchable inside the app, with a welcome tour that lets you hide your first message from inside it.
  • No network permission.
  • Send what you hide as a file or document attachment. A messenger's photo mode (WhatsApp, Signal, Telegram) recompresses the picture and destroys what's hidden.
  • Hiding lowers the odds of being noticed; it doesn't make them zero. StegPony can't protect you from someone who has the original photo, from a forensic examination of your unlocked phone, or from anyone who sees whom you send images to and when.
  • Hardware keys need a Curve25519 (cv25519) decryption key. RSA keys can't be used. A Nitrokey 3 offers OpenPGP over USB only.
  • The translations were made and cross-checked by machine. If a sentence reads wrong, or says something weaker or stronger than the English, please report it.
  • On Android 12 and earlier, changing the language redraws the screen once. On Android 11 and earlier, pressing Back on the result page closes the app, and a result that wasn't saved or shared is lost.
  • Installs over any release candidate from RC2 on and keeps your keys and contacts. Anything hidden with RC2 or later opens here.
  • Built reproducibly on Linux and signed with the StegPony release key.

F-Droid

F-Droid is coming. StegPony builds reproducibly, so the F-Droid version will be signed with the same key as this APK, and either one can update the other.

Check your download

SHA-256 of StegPony-1.0.0.apk

9edc214d29372661f9d6b0e30c02eda3afb9352b5993adb298b9cd9f3ecf93b9

APK signing certificate, SHA-256

5f1a484df08945fff27451d5a55a070714ad4e8ef61f4c1ab8846fcfaab6be82

The signature is made with the NorseHorse release key, fingerprint A0CB C8F6 5AAC E56F 1C5B 7677 53F9 798E 4919 DE62. The commands are on the release candidates page.