Skip to main content

Postel's Law

UX Design

What is Postel's Law

Postel's Law says: "Be liberal in what you accept, and conservative in what you send." It is also called the Robustness Principle. Jon Postel, an early pioneer of the Internet, wrote it as a guideline for TCP software. Designers use it for how interfaces handle user input.

How Postel's Law works

People do not type information the same way. A tolerant interface expects this and is tolerant of the many actions and inputs users could give. What the system sends back, its output and feedback, stays consistent and predictable.

How to apply Postel's Law

  • Accept variable input: allow different formats for dates, phone numbers and names
  • Translate the input: convert it to the format your system needs
  • Define boundaries: decide what input is valid
  • Give clear feedback: say what went wrong and how to fix it

Benefits of Postel's Law

Flexible input prevents small slips from turning into errors. The more you anticipate and plan for in the design, the more resilient the interface is for people with different habits, devices and abilities.

Frequently asked questions

What is another name for Postel's Law?

It is also called the Robustness Principle. Jon Postel, an early Internet pioneer, wrote it as a guideline for TCP software.

How does Postel's Law apply to forms?

Accept the different ways people type the same information, such as dates or phone numbers with or without spaces. Convert the input to the format your system needs, and give clear feedback when the input cannot be used.

Does Postel's Law mean a form should accept any input?

No. Be flexible about format, but still define clear boundaries for what is valid and tell users when their input is outside them.