Postel's law
'Be conservative in what you send, and liberal in what you accept': be strict about what you produce, but flexible about what you take in. It began as a rule for internet protocols.
Also called robustness principle
Example
A made-up sign-up form accepts a phone number typed with spaces, dashes or brackets, then stores it in one tidy format.
When to use it
Accept the different ways people naturally type information, and give back clean, consistent results (our suggestion). Internet engineers now warn that tolerating too much can hide mistakes and let them spread, so be flexible about format, not about meaning (our suggestion).
The evidence 2 sourced claims
Every sentence on this card traces back to one of these claims, each linked to its source. How we research
The robustness principle, first stated in RFC 760 (1980), advises being conservative in sending and liberal in receiving; RFC 9413's abstract words it 'be conservative in what you send, and liberal in what you accept'.
The IAB argues that tolerating unexpected input is no longer best practice in all cases: it lets errors become entrenched, hides problems and harms the ecosystem.