# Block or Allow URLs in Chrome

> Restrict which websites your users can visit in Google Chrome on managed iPhones and iPads, using Chrome's managed app configuration in Applivery.

Source: https://docs.applivery.com/en/device-management/apple/ios-ipados/policies/block-allow-urls-chrome/  •  Last updated: 2026-09-24

---

If your users browse with Google Chrome on their iPhones and iPads, you can decide which websites Chrome is allowed to open — block a couple of distracting sites, or lock Chrome down to a short list of work tools. You do it from the Chrome app entry in your Policy, through its managed app configuration.

## Chrome vs. Apple's Web Content Filter

These properties only control **Google Chrome**. If you need to restrict Safari, use Apple's native [Web Content Filter](https://docs.applivery.com/en/device-management/apple/ios-ipados/policies/web-content-filter/) instead. The two mechanisms are independent: blocking a URL in one doesn't block it in the other.

<table style="min-width: 75px;"><colgroup><col style="min-width: 25px;"><col style="min-width: 25px;"><col style="min-width: 25px;"></colgroup><tbody><tr><th colspan="1" rowspan="1"><p></p></th><th colspan="1" rowspan="1"><p>Chrome URL blocking</p></th><th colspan="1" rowspan="1"><p>Web Content Filter</p></th></tr><tr><td colspan="1" rowspan="1"><p>Scope</p></td><td colspan="1" rowspan="1"><p>Google Chrome only</p></td><td colspan="1" rowspan="1"><p>Safari and WebKit</p></td></tr><tr><td colspan="1" rowspan="1"><p>Where you set it</p></td><td colspan="1" rowspan="1"><p>Policy → Apps → Google Chrome → Configuration</p></td><td colspan="1" rowspan="1"><p>Policy → Web Content Filter configuration</p></td></tr><tr><td colspan="1" rowspan="1"><p>Supervision required</p></td><td colspan="1" rowspan="1"><p>No</p></td><td colspan="1" rowspan="1"><p>Yes</p></td></tr></tbody></table>

## Prerequisites

-   Google Chrome is added as an app in your iOS/iPadOS Policy. The configuration only reaches Chrome when it's installed as a managed app.
    
-   **The device doesn't need to be supervised.**
    
-   Access to a test device, so you can check the result in `chrome://policy`.
    

## Configuration

**Open your Policy**

In the [**Applivery Dashboard**](https://dashboard.applivery.io/), go to **Policies** 1 and select your iOS/iPadOS Policy.

**Open Google Chrome**

Go to **Apps** 2, and add or edit the **Google Chrome** 3 entry.

![chrome managed properties](https://docs.applivery.com/int/_r2/media/09ac0a4e-3ad8-478f-9f15-3474973eec71/c3faf3fb-bacb-4deb-88e4-5d8fea337975.png)

**Add the properties**

In the **Configuration** field, add `URLBlocklist` (and `URLAllowlist` if you need exceptions). You can use either **JSON** mode or **Property** mode — both produce the same result. See the examples below.

![urlblocklist](https://docs.applivery.com/int/_r2/media/09ac0a4e-3ad8-478f-9f15-3474973eec71/ba9c020f-6a3c-47c2-9783-978147e3bc4e.png)

**Save and apply**

Save the changes and apply the Policy to your devices.

**Restart Chrome on the device**

Fully close Chrome and open it again so it picks up the new configuration.

### Blocking specific sites

**JSON mode** — paste the object with the list as a JSON array:

```json
{
  "URLBlocklist": [
    "facebook.com",
    "x.com"
  ]
}
```

**Property mode** — click **\+ Add Property** and fill it in:

-   **Key**: `URLBlocklist`
    
-   **Value**: `["facebook.com","x.com"]`
    

### Allowing only a list of sites

Block every site with `*`, then list the exceptions in `URLAllowlist`:

```json
{
  "URLBlocklist": [
    "*"
  ],
  "URLAllowlist": [
    "mail.google.com",
    "applivery.com"
  ]
}
```

In Property mode, add two properties: `URLBlocklist` with the value `["*"]`, and `URLAllowlist` with the value `["mail.google.com","applivery.com"]`.

:::warning
**Add the properties at the root.** `URLBlocklist` and `URLAllowlist` go directly in the Configuration field. Don't wrap them in a container key such as `ChromePolicy` — Chrome will show them as **Unknown policy** and ignore them.
:::

## URL filter syntax

Entries follow Chrome Enterprise's filter format, `[scheme://][.]host[:port][/path][@query]` — the same syntax Applivery uses on every platform where `URLBlocklist` and `URLAllowlist` are available.

<table style="min-width: 50px;"><colgroup><col style="min-width: 25px;"><col style="min-width: 25px;"></colgroup><tbody><tr><th colspan="1" rowspan="1"><p>Entry</p></th><th colspan="1" rowspan="1"><p>What it matches</p></th></tr><tr><td colspan="1" rowspan="1"><p><code>facebook.com</code></p></td><td colspan="1" rowspan="1"><p>The domain <strong>and all its subdomains</strong>. You don't need a separate <code>*.facebook.com</code> entry.</p></td></tr><tr><td colspan="1" rowspan="1"><p><code>.www.example.com</code></p></td><td colspan="1" rowspan="1"><p><strong>Only</strong> that exact host. Other subdomains stay reachable.</p></td></tr><tr><td colspan="1" rowspan="1"><p><code>*</code></p></td><td colspan="1" rowspan="1"><p>All hosts. It's a special value on its own, not a wildcard you can put inside a hostname.</p></td></tr></tbody></table>

:::info
**When the two lists collide, the most specific filter wins.** Chrome selects the filters with the longest matching host, then the longest matching path, then the longest set of query tokens. If a block and an allow filter are equally specific, **the allow filter takes precedence**.
:::

For the full syntax reference, with more examples and special cases, see [URL Filters](https://docs.applivery.com/en/device-management/android/troubleshooting/url-filter-format/).

## Checking it applied

1.  On the device, open Chrome and go to `chrome://policy`.
    
2.  Tap **Reload policies**.
    
3.  Find `URLBlocklist` and `URLAllowlist`: the **Status** should be **OK** and the **Value** should match what you configured.
    
4.  Try to open one of the blocked sites. Chrome should show its blocked-page message.
    

## Troubleshooting

<table style="min-width: 75px;"><colgroup><col style="min-width: 25px;"><col style="min-width: 25px;"><col style="min-width: 25px;"></colgroup><tbody><tr><th colspan="1" rowspan="1"><p>What you see in <code>chrome://policy</code></p></th><th colspan="1" rowspan="1"><p>Likely cause</p></th><th colspan="1" rowspan="1"><p>What to do</p></th></tr><tr><td colspan="1" rowspan="1"><p>Status <strong>Error</strong></p></td><td colspan="1" rowspan="1"><p>One of the entries isn't valid syntax — for example <code>*.domain.com</code>, with a wildcard before the host.</p></td><td colspan="1" rowspan="1"><p>Check each entry against the <a target="_blank" rel="noopener noreferrer nofollow" class="text-primary underline" href="https://docs.applivery.com/en/device-management/android/troubleshooting/url-filter-format/">URL Filters</a> syntax. Remember a bare domain already covers its subdomains.</p></td></tr><tr><td colspan="1" rowspan="1"><p>Status <strong>Unknown policy</strong></p></td><td colspan="1" rowspan="1"><p>The properties were sent inside a container key such as <code>ChromePolicy</code>.</p></td><td colspan="1" rowspan="1"><p>Move <code>URLBlocklist</code> and <code>URLAllowlist</code> to the root of the Configuration field.</p></td></tr><tr><td colspan="1" rowspan="1"><p>Status <strong>OK</strong>, but the site still opens</p></td><td colspan="1" rowspan="1"><p>Chrome hasn't been restarted since the Policy was applied.</p></td><td colspan="1" rowspan="1"><p>Fully close Chrome and open it again.</p></td></tr><tr><td colspan="1" rowspan="1"><p>An allowed site is still blocked</p></td><td colspan="1" rowspan="1"><p>A more specific entry in <code>URLBlocklist</code> is matching it, or another app configuration on the same device conflicts.</p></td><td colspan="1" rowspan="1"><p>Check which filter is more specific, and make sure no other configuration for Chrome is applied to the device.</p></td></tr></tbody></table>

## Blocking the website isn't blocking the app

These properties only stop access **through Chrome**. If a service has its own native app, users can keep using it there. To stop people using the service itself, also block the app — see [Block & Allow Apps](https://docs.applivery.com/en/device-management/apple/app-management/block-allow-apps/).
