URL simplification policy in Google Chrome

Background

URLs displayed in a user agent‘s address bar are often the only security context directly exposed to users. The URL communicates site identity, but displaying the entire URL can often provide opportunities for spoofing (e.g. https://your-bank.secure.login.com/accounts). Starting in an M86 experiment, Google Chrome may simplify the URL display to show only the most critical information for security, hiding parts of the URL that make it harder for users to make decisions about a site’s identity and trustworthiness.

This page explains the proposed criteria that Chrome will be using when simplifying the URL. Note that this criteria is tentative and may change as Chrome collects data from the M86 simplified URL experiment.

For more information about best practices for URL display in browsers, see our article on Guidelines for URL Display.

Showing the full URL when needed

By default, Chrome shows a simplified version of the URL, hiding the scheme, path, query, and fragment. For example, https://example.com/example1/?id=1 is displayed simply as example.com in the address bar.

To allow a user to see the full URL when needed, Chrome will display the entire URL when:

  • The user hovers over the address bar.
  • The user focuses on the address bar.
  • In some experimental variations, when a page first loads (before a user begins interacting with the loaded page).

This strategy optimizes for security while making it easy and discoverable for users to retrieve full URLs.

How URLs are simplified

Most of the time, Chrome shows full host, including subdomains and registered domain in the address bar (for example, https://foo.example.com/bar#baz will be simplified to foo.example.com).

However, in some cases, Chrome will further simplify to show just the registered domain name (for example, example.com in https://foo.example.com).

Chrome will show just the registered domain when the full host (including dots) exceeds 25 characters. This limit is chosen so that >95% of Chrome page loads won’t be affected.

These criteria may change as we observe user behavior and affected sites.

Downgrading hostnames to registered domain when the above criteria is met makes it harder for sites to spoof users by using confusing subdomains (e.g. your-bank.com.secure.evil.com). When evaluating the URL's domain, Chrome will not take private registries from the Public Suffix List into account. This is to avoid creating an incentive for malicious sites to add themselves to the Public Suffix List.