Skip to main content

Check a file for a WAI mark

A WAI mark says, inside the samples or pixels, that a piece of media was generated, and points at the signed claim of whoever made it. Drop a file here: this page reads the mark with no key, verifies the signed claims the file carries, and tells you whether a claim pairs with the mark. The file stays on your device.

or drop it here: FLAC, Ogg Opus, MP3, WAV, MP4 with AAC, PNG, JPEG, WebP
Add a signed claim given beside the file

A claim is a small JSON text its maker signs. Most marked files carry theirs inside.

No claim added.
Try a sample:
The file read: a generated picture, the sample.

Sample: a generated picture, its mark and its signed claim

marked-attested

This file carries a WAI mark that says its content is synthesized (generated by an AI system), and a signed claim pairs with it: the claim's signature verifies under key 9a6fe48c82920359…, and the mark points at that claim.

Based on
watermark and metadata
Mark
wai-mark:tent64: class synthesized, 0 of 29 bits corrected
Signed claim
synthesized, signature verified, key 9a6fe48c82920359…
Decoded
512 × 512 pixels
File SHA-256
3fe1ea35e61a9b86…

Shown: the detector's reading of the first sample.

Four answers, and what each one means

The detector gives one of four verdicts on a file it reads, and says why.

VerdictWhat it means
marked-attestedThe file carries a WAI mark, and a signed claim pairs with it: the claim's signature verifies and the mark points at it. The verdict names the key that signed.
marked-unattestedThe file carries a WAI mark, and no signed claim pairs with it. The mark's pattern is published, so anyone can write one: treat it as unverified.
unmarked-claimedNo mark was read, but the file carries a signed claim. The mark may have been removed, or lost to an edit it does not survive.
unmarkedNo mark and no claim. That says nothing about who or what made the file: most media carries no mark.

A file the detector cannot read is not-decoded (for example video, or AAC with spectral band replication), and a broken one is malformed.

A mark alone proves nothing; the signed claim does

The mark holds eight bytes: the class of the content and the start of the claim's hash. The claim holds the rest and its maker's signature. The detector pairs the two, so a mark copied or invented without a matching signed claim is reported as unverified.

The mark in the samples points at a signed claim; the detector checks the claim's signature and that the mark is its own In the samples the mark: class, and 7 bytes of the claim's hash read with no key The signed claim what made the file, and its maker's signature in the file, or beside it Detector pairs mark and claim attested only when both hold

It runs here, and nothing leaves your device

The detector is the code of the wai detect command, compiled to WebAssembly. The file is read in this tab and is never sent anywhere; the page fetches only its own files.

  • Audio is decoded to the same integers on every machine, for MP3, Ogg Opus and AAC by decoders whose output is exact, so the reading here is the reading anywhere.
  • Pictures are decoded by pure-Rust decoders; a JPEG's pixels are that decoder's reading, since the JPEG standard holds decoders to a tolerance.
  • Not read: video tracks, AAC with spectral band replication or parametric stereo, AAC of more than two channels, and pictures in AVIF.
  • Each layer of an audio file (its Content Credentials, its own tags and its watermark) is checked against the claim it names, as wai detect checks it.
  • The result downloads as JSON, or signed: the signed result names the file by its hashes, this page by its address, the verdict and each layer, and is signed in this tab with a key made for this visit, which shows the result was not changed after it was made here and does not say who ran it. wai detect --sign --solution signs it with your own key.
  • Licence. The AAC decoder in this page is a port of a fixed-point decoder under the GNU LGPL 2.1 or later; the rest is Apache-2.0. The source of every part is in the open-standards repository, from which anyone can rebuild the page's module.

How the verdict is defined: the marking-layers extension, section 6.3.