text: ---
  description: Open the Network conditions tab, disable Select automatically, and choose from the list or enter a custom string.
  title: Override The User Agent String From Microsoft Edge DevTools
  author: MSEdgeTeam
  ms.author: msedgedevrel
  ms.date: 09/01/2020 
  ms.topic: article
  ms.prod: microsoft-edge
  keywords: microsoft edge, web development, f12 tools, devtools
  ---
  <!-- Copyright Kayce Basques 
  
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at
  
         https://www.apache.org/licenses/LICENSE-2.0
  
     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.  -->
  
  # Override the user agent string from Microsoft Edge DevTools  
  
  To override the [user agent][MDNUserAgent] string from Microsoft Edge DevTools:  
  
  1.  Press `Control`+`Shift`+`P` \(Windows\) or `Command`+`Shift`+`P` \(macOS\) to open the **Command Menu**.  
      
      :::image type="complex" source="../media/device-mode-console-command-menu.msft.png" alt-text="The Command Menu" lightbox="../media/device-mode-console-command-menu.msft.png":::
         The **Command Menu**  
      :::image-end:::  
      
  1.  Type `network conditions`, select **Show Network conditions**, and press `Enter` to open the **Network conditions** tab.  
  1.  In the **User agent** section, disable the **Select automatically** checkbox.  
      
      :::image type="complex" source="../media/device-mode-console-network-conditions-user-agent-select-automatically-deselected.msft.png" alt-text="Disable Select automatically" lightbox="../media/device-mode-console-network-conditions-user-agent-select-automatically-deselected.msft.png":::
         Disable **Select automatically**  
      :::image-end:::  
      
  1.  Select a user agent string from the list, or enter your own custom string.  
  
  ## Getting in touch with the Microsoft Edge DevTools team  
  
  [!INCLUDE [contact DevTools team note](../includes/contact-devtools-team-note.md)]  
  
  <!-- links -->  
  
  [MDNUserAgent]: https://developer.mozilla.org/docs/Glossary/User_agent "User agent | MDN"  
  
  > [!NOTE]
  > Portions of this page are modifications based on work created and [shared by Google][GoogleSitePolicies] and used according to terms described in the [Creative Commons Attribution 4.0 International License][CCA4IL].  
  > The original page is found [here](https://developers.google.com/web/tools/chrome-devtools/device-mode/override-user-agent) and is authored by [Kayce Basques][KayceBasques] \(Technical Writer, Chrome DevTools \& Lighthouse\).  
  
  [![Creative Commons License][CCby4Image]][CCA4IL]  
  This work is licensed under a [Creative Commons Attribution 4.0 International License][CCA4IL].  
  
  [CCA4IL]: https://creativecommons.org/licenses/by/4.0  
  [CCby4Image]: https://i.creativecommons.org/l/by/4.0/88x31.png  
  [GoogleSitePolicies]: https://developers.google.com/terms/site-policies  
  [KayceBasques]: https://developers.google.com/web/resources/contributors/kaycebasques  
  