assetlinks.json (Digital Asset Links)

Demo · format-valid IANA · permanent

/.well-known/assetlinks.json

Standard: Google Digital Asset Links

Android's counterpart to Apple's AASA: verify app-website associations for app links and TWAs.

What it is

assetlinks.json lists Android apps (package name + signing-cert SHA-256 fingerprints) that are authorized to associate with a website: opening app links, trusted web activities, password autofill, and API access from apps.

The threat it addresses

Same hijacking problem as universal links: without verified association, any app could intercept web intents. The file is served by the domain and verified against the app's actual signing certificate — a cryptographic binding.

How it works

  • The domain serves /.well-known/assetlinks.json: an array of relation/target pairs.
  • The app's certificate fingerprint must match what Google Play (or the app itself) reports.
  • Chrome/Android verify the file before allowing the app to handle the website's intents.

Honesty notes

  • Demo: placeholder fingerprint — real deployments list the actual signing-cert SHA-256.

Try it

Live demo

Format-valid demo with placeholder certificate fingerprint

Content-Type: application/json; charset=utf-8
[
  {
    "relation": [
      "delegate_permission/common.handle_all_urls"
    ],
    "target": {
      "namespace": "android_app",
      "package_name": "com.example.wellknownshowcase",
      "sha256_cert_fingerprints": [
        "00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00"
      ]
    }
  },
  {
    "_demo_note": "Illustrative Digital Asset Links file. Real deployments list the app's actual signing-certificate SHA-256 fingerprints and package name."
  }
]