Overview Open Chrome DevTools What's New In DevTools DevTools Engineering Get Started With Viewing And Changing The DOM Find Unused JavaScript And CSS With The Coverage Tab Find and fix problems with the Issues tab Run commands in the Command Menu View and debug media players information Emulate authenticators and debug WebAuthn Edit files with Workspaces Debug Progressive Web Apps Understand security issues Keyboard shortcuts View page resources
Overview Open Chrome DevTools What's New In DevTools DevTools Engineering Get Started With Viewing And Changing The DOM Find Unused JavaScript And CSS With The Coverage Tab Find and fix problems with the Issues tab Run commands in the Command Menu View and debug media players information Emulate authenticators and debug WebAuthn Edit files with Workspaces Debug Progressive Web Apps Understand security issues Keyboard shortcuts View page resources

Override the user agent string

Published on

To override the user agent string from Chrome DevTools:

  1. Press Command+Shift+P (Mac) or Control+Shift+P (Windows, Linux, Chrome OS) to open the Command Menu.

    The Command Menu.

    Figure 1. The Command Menu

  2. Type network conditions, select Show Network conditions, and press Enter to open the Network conditions tab.

  3. In the User agent section disable the Select automatically checkbox.

    Disabling 'Select automatically'.

    Figure 2. Disabling Select automatically

  4. Select a user agent string from the list, or enter your own custom string.

Last updated: Improve article

We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.