Runs in your browser. Your input is not uploaded.

ETag and conditional request matcher

Compare an ETag with If-None-Match or If-Match using weak and strong rules.

Loading the tool…

What it does, how to use it, and questions

What it does

ETags identify a representation. Weak validators start with W/. Conditional requests use If-None-Match or If-Match to avoid extra transfers or lost updates.

This matcher applies the weak/strong comparison rules to the values you paste.

How to use it

  1. Paste the ETag (or list).
  2. Paste If-None-Match or If-Match.
  3. Read match or no-match with the rule used.

Things to watch for

  • * in If-None-Match matches any current representation for GET semantics; servers interpret method context.
  • Weak comparison ignores the W/ prefix for equality of the opaque tag.

Questions

Strong vs weak?
Strong means byte-for-byte identical. Weak means semantically equivalent.
Does this fetch the resource?
No.
Can I generate an ETag?
Hash the body with SHA-256 if you need a strong validator; this page only compares.
Are values uploaded?
No.