HTTP Expires Header Validator
Validate the HTTP Expires header (RFC 7234) and find out how long until the content expires. Useful for debugging cache, CDNs and website performance.
Result
—
Expires: the caching header that predates Cache-Control
Expires states the instant a response stops being fresh. It comes from HTTP/1.0 and was superseded in practice by Cache-Control's max-age directive, which is relative and therefore immune to clock skew. Even so it keeps appearing, and it still applies when the newer header is absent.
Paste the value and the page says whether the date is valid and how long remains or has passed. It also recognises the two special values in circulation: zero and minus one, used to declare the response stale on arrival. Technically any invalid value has that effect — the specification says to treat an unparseable date as already expired.
The precedence rule is the thing to know: when both headers exist, Cache-Control wins and Expires is ignored entirely. That makes for a common situation where someone adjusts Expires and nothing changes, because a Cache-Control was set in another layer — the application server, the reverse proxy or the CDN.
Frequently asked questions
Do I still need to send Expires?
Why is an absolute date worse?
Are zero and minus one valid?
Related Tools
Last-Modified Header Validator
Validate whether an HTTP Last-Modified header is in the correct format (HTTP-date, RFC 7231). Useful for debugging browser cache, CDNs and website performance.
SemVer Validator
Validate a semantic version (semver.org) and show major, minor, patch, prerelease and build metadata separately.
Base32 Hex Validator
Check if a string uses only the Base32 Hex alphabet (0-9, A-V). DNS variant per RFC 4648.
IMEI Validator (Luhn)
Validate a phone IMEI (15 digits) using the Luhn algorithm. Check whether a device identification number is valid before buying or registering it.
ISO 8601 Date Validator
Verify whether a string is a valid ISO 8601 date/time (with timezone) and show the detected components.
ISO 3166 Country Code Validator
Validate ISO 3166-1 alpha-2 / alpha-3 country codes and resolve country name.