# Show or Hide a Block for Some Contacts

Add a visibility rule to a block so only the right people see it.

Select a block in the email editor and open **Visibility** in its settings. Tick **Only show or hide this block for some contacts**.

1. Choose **Show** or **Hide** this block, and whether **all** or **any** of the conditions must be true.
2. Add conditions: a **tag**, a **segment**, a **list**, a **contact field** (such as country or language), a **custom field**, the **number of orders** or the **total spent**.

Blocks with a rule show a **Rule** badge in the editor. The rules are applied for each person when the email is sent.

### Good to know

- If a contact’s data cannot be checked, the block is hidden. This is the safe choice, so it applies to Show and Hide rules alike.
- The editor preview shows every block. Tick **Apply visibility rules for a sample contact** to try tags, country and language. Rules about segments, lists and orders need a real contact: use **Preview as contact** in the review step.
- A test email without a chosen contact cannot check segment, list or order rules, so those blocks are left out.
- The web archive version leaves out every block that has a rule. Automation emails do not use these rules yet.
