Device Emulation in Microsoft Edge Browser [Full Guide]
Last Updated :
05 Apr, 2025
Testing your website or web app on various devices is essential to ensure it offers a consistent and responsive user experience across different screen sizes. Device emulation in the Microsoft Edge browser allows developers and designers to simulate how their site or application will appear on various devices, including smartphones, tablets, and desktop computers. By emulating devices, you can quickly check for responsiveness, layout issues, and performance across different resolutions without needing to physically test on each device.
In this guide, we’ll walk you through how to use device emulation in Microsoft Edge to streamline your testing process.
What is Device Emulation in Microsoft Edge?
Device emulation in Microsoft Edge allows users to simulate different mobile and tablet devices within the browser. This emulation helps developers and testers understand how their website or application will behave on various devices without needing the actual hardware.
Microsoft Edge's Device Mode mimics the screen size, touch interactions, and other characteristics of popular devices such as smartphones, tablets, and desktops. This enables you to see how your website will adapt to these conditions, including layout adjustments, media query breakpoints, and other mobile-specific behaviors.
Why Use Device Emulation in Microsoft Edge?
Here are a few key reasons why device emulation in Edge is so valuable for web development:
- Responsive Design Testing: Simulate how your site will behave across different screen sizes and resolutions to ensure a good user experience.
- Debugging Mobile Issues: Emulate touch events, screen rotation, and device-specific behaviors to troubleshoot problems.
- Network Simulation: Test how your site performs on various network conditions such as 3G, 4G, or Wi-Fi.
- User Experience (UX) Optimization: Check whether your content, images, and fonts are properly scaled and formatted for mobile devices.
- Efficient Development: Save time and resources by testing device-specific behaviors without needing physical devices for each test.
How to Emulate Devices in Microsoft Edge: Step-by-Step
Follow these steps to emulate devices in Microsoft Edge using the built-in DevTools.
Step 1: Open Microsoft Edge DevTools
- Launch Microsoft Edge: Open the Edge browser on your device.
- Open DevTools: Press
Ctrl + Shift + I
on Windows or Cmd + Option + I
on macOS. Alternatively, you can right-click on the webpage and select "Inspect" to open the DevTools panel.

Step 2: Toggle Device Emulation Mode
- Activate Device Mode: Once DevTools is open, look for the "Toggle Device Emulation" icon in the top-left corner of the DevTools window. It looks like a small phone and tablet icon.
- Click the Icon: This will activate the device emulation feature.

Alternatively, you can press "Control + Shift + M" on Windows or "Command + Shift + M" on Mac to achieve same result.
Step 3: Choose a Device to Emulate
- Select a Device: In the device toolbar that appears at the top of the browser window, select the type of device you want to emulate. You can choose from a list of predefined devices like the iPhone, Pixel, Galaxy, or other popular smartphones and tablets.
- Custom Device: If you want to emulate a custom device, you can add your own dimensions and device pixel ratio by clicking on "Edit" and selecting "Add custom device."

Step 4: Adjust the Screen Size and Orientation
- Resize the Viewport: You can resize the emulated screen by dragging the viewport handles or entering specific dimensions in the width and height boxes.
- Orientation: To switch between portrait and landscape modes, click on the "Rotate" icon next to the device name in the toolbar.
You can also preview your site's look and feel across specific devices integrated into Microsoft Edge DevTools. These devices have a wide range of dimensions from an iPhone SE, Samsung Galaxy S5 all the way to Foldable devices like Surface Duo and bigger screens such as an iPad Pro.

Step 5: Test and Interact with the Emulated Device
- Touch Events: You can simulate touch events such as swipes or taps using the mouse.
- Test Responsiveness: As you interact with your page, you’ll see how elements such as images, buttons, and forms adapt to different screen sizes.
- Zoom In/Out: You can zoom in or out on the emulated screen by using the zoom controls at the top of the DevTools window.
Microsoft Edge's Devtools also supports testing pages in different orientations (Landscape and Portrait)
- To rotate the device viewport to landscape orientation, select "Rotate" button as shown.

Step 6: Simulate Network Conditions
- Network Throttling: In the DevTools panel, go to the "Network" tab and choose from network speed options like Offline, Slow 3G, Fast 3G, or Wi-Fi. This lets you simulate how your site behaves under different connection speeds.
- Check Performance: Monitor the site’s performance on slower network connections, which helps identify bottlenecks or issues related to slow loading times.

Override Geolocation in Microsoft Edge
If your web application behaves differently based on the location of the end-user, you can emulate various geolocations using the geolocation-overriding UI in Microsoft Edge DevTools. This is particularly useful for testing location-based services or content customization.
Step 1: Open Microsoft Edge DevTools
- Launch Microsoft Edge: Open the Edge browser on your device.
- Open DevTools: Press
Ctrl + Shift + I
on Windows or Cmd + Option + I
on macOS. Alternatively, you can right-click on the webpage and select "Inspect" to open the DevTools panel.
Step 2: Access the Sensors Panel
- Click on the three dots in the top-right corner of DevTools.
- Select More tools and then choose Sensors to open the Sensors panel.

Step 3: Select a Preset Location
- In the Sensors panel, select one of the preset locations from the dropdown menu.

Step 4: Enter a Custom Location
- To test a custom location, select Other and manually enter the latitude and longitude coordinates of your desired location.
Step 5: Simulate Location Unavailability
- To simulate a scenario where location information is unavailable, select Location unavailable from the dropdown menu.
Set the User-Agent String in Microsoft Edge
Testing your web application based on different User-Agent strings is crucial for ensuring it functions properly across various browsers and devices. You can use Microsoft Edge DevTools to emulate different User-Agent strings and test how your web app behaves with these variations.
Step 1: Open Microsoft Edge DevTools
- Launch Microsoft Edge: Open the Edge browser on your device.
- Open DevTools: Press
Ctrl + Shift + I
on Windows or Cmd + Option + I
on macOS. Alternatively, you can right-click on the webpage and select "Inspect" to open the DevTools panel.
Step 2: Navigate to Network Conditions
- Click on the three dots in the top-right corner of DevTools.
- Go to More tools and select Network conditions.

Step 3: Disable Default User-Agent
- Uncheck the Use browser default checkbox next to the User agent section.
Step 4: Choose a Predefined User-Agent String
- Select Custom from the dropdown menu to choose from a list of predefined User-Agent strings for various browsers and devices.

Step 5: Enter a Custom User-Agent String
- If you need a custom User-Agent string, enter it into the Enter a custom user agent field.
By changing the User-Agent string, you can test how your application behaves across various devices and browsers.
Set User-Agent Client Hints for Device Emulation
User-Agent Client Hints enable developers to simulate specific device characteristics in more detail. This allows for better testing and optimization of web applications based on the precise device and browser characteristics.
Step 1: Open Microsoft Edge DevTools
- Launch Microsoft Edge: Open the Edge browser on your device.
- Open DevTools: Press
Ctrl + Shift + I
on Windows or Cmd + Option + I
on macOS. Alternatively, you can right-click on the webpage and select "Inspect" to open the DevTools panel.
Step 2: Access Device Settings
- In the DevTools panel, go to Settings > Devices.

Step 3: Add a Custom Device
- Click on Add custom device in the Emulated Devices panel and expand the User-agent client hints section.

Step 4: Set Device Name
- Enter a unique name for the device in the Device Name field (e.g., “GeeksforGeeks”).
Step 5: Adjust Device Settings
- Modify the Width, Height, and Device Pixel Ratio as per your testing requirements.
Step 6: Set User-Agent Client Hints
- Complete the following fields:
- Brand and Version: Example: Edge 117
- Full Browser Version: Example: 117.0.2045.43
- Platform and Version: Example: Windows 11.0
- Architecture: Example: x86
- Device Model: Example: Galaxy Nexus
Step 7: Add the Device
- Click Add to save your custom device. It will now appear at the top of the Emulated Devices panel.
This feature gives you a granular level of control for testing how your web application behaves on specific devices with precise configurations.
How to Emulate Dual-Screen Devices in Microsoft Edge
Testing for dual-screen devices like the Surface Duo is made easy with Microsoft Edge's device emulation. By simulating dual-screen devices, you can ensure your web application adapts to these devices' unique layouts.
Step 1: Open Microsoft Edge DevTools
- Launch Microsoft Edge: Open the Edge browser on your device.
- Open DevTools: Press
Ctrl + Shift + I
on Windows or Cmd + Option + I
on macOS. Alternatively, you can right-click on the webpage and select "Inspect" to open the DevTools panel.
Step 2: Activate Device Mode
- Click on the Toggle Device Toolbar icon (phone and tablet icon).
Step 3: Choose a Dual-Screen Device
- From the top bar, select a dual-screen device like the Surface Duo.
Step 4: Toggle Dual-Screen Mode
- Click on the Dual-Screen Mode icon in the toolbar to switch between single and dual-screen views.

This allows you to simulate how your web app would look and behave on devices with dual screens, ensuring your design is optimized for such platforms.
How to Emulate Foldable Devices:
- Open DevTools: Open Microsoft Edge DevTools as described above.
- Enable Foldable Mode: In the Device Mode, select a foldable device (like Asus Zenbook Fold) from the device list.
- Adjust Posture: Set the device to Continuous (flat) or Folded (angled) to simulate different screen orientations.
Common Use Cases for Device Emulation
- Mobile-First Development: Emulate various devices to design websites with mobile-first in mind, ensuring your pages load quickly and are fully responsive.
- Performance Testing: Simulate network throttling to see how your site performs under slow connections, ensuring your site is optimized for performance across all devices.
- Cross-Browser Testing: Use emulation to see how your website behaves across different browsers, especially when working on projects that need to be compatible with multiple devices and operating systems.
- Debugging: Quickly identify and resolve issues related to device-specific behaviors, such as elements that don’t scale correctly or features that don’t work well on mobile.
Conclusion
Device emulation in Microsoft Edge is a powerful tool for web developers and designers, allowing you to efficiently test your website’s responsiveness without switching between physical devices. By using the Device Emulation feature in the Developer Tools, you can quickly simulate different device resolutions, orientations, and network conditions, helping you catch issues early in the development process. Whether you're testing mobile-first designs or making sure your site performs well on tablets and desktops, device emulation can save you time and streamline your web testing in 2025.
Similar Reads
Microsoft Edge - How to Get Started
Learn what's new in Microsoft Edge - Microsoft Edge has become one of the most popular web browsers, known for its speed, security features, and seamless integration with the Windows ecosystem. Whether you're new to Edge or looking to explore its advanced features, this tutorial will guide you throu
7 min read
How to Install Microsoft Edge Browser on Windows ?
Microsoft Edge is a cutting-edge web browser that has rapidly gained popularity among users worldwide. With its sleek interface, improved speed, and a wide array of features Edge has become a formidable player in the web browser market. Developed by tech giant company Microsoft, it boasts seamless i
2 min read
How to Browse in Microsoft Edge Browser
Microsoft Edge has evolved significantly over the years and is now a powerful web browser that offers not just a fast browsing experience but a suite of advanced features for security, privacy, and productivity. With its modern Chromium-based engine, Edge is designed to provide a smoother, more effi
6 min read
Bookmark in Microsoft Edge Browser
When you come across a webpage that you like and want to revisit later, you can save it using the bookmarking feature in your browser. Just like when reading a book we use a bookmark to mark the page so that we can come back where we left off, a browser too has a bookmark feature but for web pages i
3 min read
Debugging JavaScript in Microsoft Edge Browser
While working with JavaScript, we often encounter several errors but finding them out is truly an arduous task. So, in this article, we will learn how to debug JavaScript in Microsoft Edge. Steps to debug the JavaScript in Microsoft EdgeFinding the bugBeing familiar with sources tool UIUse a breakpo
6 min read
Basic and advance shortcut keys in Microsoft Edge Browser
Microsoft Edge is a fast, secure, and modern web browser that offers a variety of shortcut keys that can save time and speed up your workflow. In this article, we'll explore both basic and advanced shortcut keys in Edge to navigate the browser with ease and efficiency. Table of Content Benefits of S
3 min read
How to View and Edit local Storage in Microsoft Edge Browser
Local Storage in Microsoft Edge is a key component for web developers, allowing websites to store data locally in the user's browser. This feature is especially useful for saving preferences, session data, or even small-scale databases that need to persist between sessions. If you're looking to view
5 min read
Hidden tricks inside Microsoft Edge Browser
The companyâs new improved browser- Microsoft Edge also came up with several secret ones which improve usability as well as productivity. Such âunderground treasuresâ are usually underestimated yet have a great potential to enhance web navigation abilities and ease up everyday routines. This guide l
5 min read
Edge Tools
Welcome Tool in Microsoft Edge Browser
The Welcome tool in Microsoft Edge is just a tab providing various information about the browser's release notes, links for various documents, and videos of everything related to Edge Browser. The whole tab has two sections: one is the Learn section, which contains various links to Edge-related docu
5 min read
DevTools in Microsoft Edge Browser
The Edge browser provides a wide range of tools that can be used to debug or inspect a webpage, these set of tools can be used from a sub-window called Development tools or DevTools. You can check for responsiveness, performance, and network request or edit styles in the browser itself, you can also
15+ min read
Network Tool in Microsoft Edge Browser
The Network Tool is used to view the various network request and corresponding responses of the web page. It provides various types of information about the request such as hearde, payload and initiator. You are also allowed to set various network conditions or filter in the requests or set network
5 min read
Network Conditions Tool in Microsoft Edge Browser
The Network Conditions Tool provides various options to simulate the various network conditions, which helps to check the web page behavior in real-life situations where the network conditions vary a lot. The conditions the toll provides are disabling cache, network throttling, user agents, and acce
4 min read
Issues with Microsoft Edge's Developer Tools
When developing and testing web applications, identifying and troubleshooting issues is crucial for ensuring performance and functionality. Microsoft Edgeâs Issues Tool is a valuable resource for web developers, offering an easy way to detect issues with web performance, accessibility, and features
6 min read
How to Use the Sensors Tool in Microsoft Edge
The Sensors tool in the Microsoft Edge Developer Tools is an essential feature for developers who want to simulate and test how their website or web app interacts with device sensors. These sensors include things like geolocation, device orientation, and motion sensors. By using the Sensors tool, de
7 min read
3D View Tool in Microsoft Edge Browser
The 3D View Tool is used to get a 3D visualization of the site to check the different layers and z-index of the sites, which is not easy to debug. The tool provides very clean and colorful visuals and provides good movement controls around the 3D view. The various details, such as size and memory co
9 min read
3D View Tool in Microsoft Edge Browser
The 3D View Tool is used to get a 3D visualization of the site to check the different layers and z-index of the sites, which is not easy to debug. The tool provides very clean and colorful visuals and provides good movement controls around the 3D view. The various details, such as size and memory co
9 min read
Detached Elements Tool in Microsoft Edge Browser
The Detached Elements Tool is used to find all detached elements in the JS code that cannot be garbage collected. Detached elements are those elements that are removed or are not attached to the DOM, but because in JS some objects are referencing these elements, the garbage collector in the browser
4 min read
Animation Tool in Microsoft Edge Browser
The Animation Tool in Edge can be used by developers to visualize the animations and modify them. The tool provides various options to replay or preview animations and modify their various properties such as time, delay, etc. Dealing with animations can take time to analyze and make corrections but
4 min read
Changes Tool in Microsoft Edge Browser
The Changes Tool in Edge acts as a history page for various changes made to the webpage source files. While using multiple DevTools, you may knowingly or unknowingly change many things related to the web page's CSS and JS code. To check all these changes, which you may use to change your actual sour
4 min read
Network Console Tool in Microsoft Edge Browser
The network console is one of the developer tools offered by Microsoft Edge, a web browser. It provides a picture of network activity during web page loading for web developers and analysts. The Network Console aids in optimizing web page speed and troubleshooting network-related problems by capturi
4 min read
Console Tool in Microsoft Edge Browser
The Console tool is used to check JS errors and warnings but it can also be used to manipulate the JS of the webpage. The tool can also be used alongside other DevTools as by default it is present in the drawer of the DevTools. Overview of Console ToolThe console tools are present in the DevTools of
7 min read
Memory Inspector Tool in Microsoft Edge Browser
The Memory Inspector Tool is used to view Array Buffer and also provide the ASCII representation of the data present in the memory. Typed Array. In the tool the developer inspect different types of memory objects and check if correct values are present in correct memory location. Overview of Memory
7 min read
Search Tool in Microsoft Edge Browser
The Search Tool is Edge find characters in the webpage HTML,CSS, JS and image files. You can search by entering text or regular expression in the input field. The tool saves a lot of time in finding the required file.Benefits of Search ToolSupport for regular expression: Other that just text you can
3 min read
Elements Tool in Microsoft Edge Browser
The Elements Tool provides the HTML and CSS code of the webpage. This code can be modified to check the changes live in the browser itself and you can also check the layout and colors used in the elements of the webpage. The elements in the webpage are the various nodes, text, attributes, and attrib
9 min read
Security Tool in Microsoft Edge Browser
Security too is used to view HTTPS security information to make the site secure for the users. The various origins of the web page is displayed in this tab and various origins that the websites uses for resources are also mentioned in this tab.Benefits of Security ToolThe various benefits of Securit
3 min read
Application Tool in Microsoft Edge Browser
The application tool provides all kinds of information about a web app, which helps the developers get an idea related to the web app. Some of this information is manifest, service workers, storage, etc., which you can use to check for background processes and test for PWA. The application tool prov
9 min read
Rendering Tool in Microsoft Edge Browser
The Rendering Tool provides various checkboxes and options to render the web page in different ways, which helps developers test the page for layout and design. You will also find various CSS options and various vision deficiencies that you can emulate using this tool.Benefits of a Rendering ToolThe
6 min read
WebAuthn Tool in Microsoft Edge Browser
In this article, we will learn about the WebAuth tool in the Edge browser. The Microsoft Edge browser offers a variety of features and services. One of them is WebAuth, which is a short form of Web authentication. It is defined as a standard for the web that the Wide Web Consortium and the FIDO intr
4 min read
Memory Tool in Microsoft Edge Browser
The Memory Tool in Edge allows you to capture the memory heap and provides various views to view that information. The tool provides various profiles for capturing web page memory information. The information mainly consists of retained size and shallow size, which provide information about the obje
8 min read
Inspect Tool in Microsoft Edge Browser
The Inspect Tool in Microsoft Edge is a powerful web development feature that helps web developers troubleshoot and modify the structure, layout, and functionality of web pages, which includes HTML, CSS, and JavaScript code. This tool is an integrated part of the browser's Developer Tools, which off
3 min read
Performance Tool in Microsoft Edge Browser
The Performance Tool in Edge provides views, graphs, charts, timelines, and various other information related to the web page's performance. The tool records the performance and displays it in a timeline view along with various graphs, charts, and other views that can be used to inspect networks, fr
6 min read
Sources Tool in Microsoft Edge Browser
The Sources Tool in Microsoft Edge is used to inspect and edit the JS code present on the web page. You also get debugging tools to debug the code and view the changes live on the web page. It acts as a code editor built into the browser, providing features such as formatting, color code, a file/fol
7 min read
Coverage Tool in Microsoft Edge Browser
The Coverage Tool is a very basic tool that displays various files requested by the webpage to the server. It provides various information about the file such as URL, type, total bytes, and unused bytes. The tool is mostly used to find out the JS and CSS code that is not being used by the site. This
4 min read
Coverage Tool in Microsoft Edge Browser
The Coverage Tool is a very basic tool that displays various files requested by the webpage to the server. It provides various information about the file such as URL, type, total bytes, and unused bytes. The tool is mostly used to find out the JS and CSS code that is not being used by the site. This
4 min read
Elements Tool for HTML, CSS and DOM in Microsoft Edge Browser
The Elements tool in Microsoft Edge is accessed from the Developer Tools. It gives you a hierarchical presentation of the HTML structure of a webpage and lets you explore, alter, and test CSS styles as well as the DOM. Web developers and designers require this tool to inspect and manipulate web page
4 min read
Quick Source Tool in Microsoft Edge
The Quick Source Tool is used to edit or view files on the web page. This is a lite version of the Sources tool used alongside other DevTools without the need for switching tabs. You can override the files according to your needs and view the changes live on the web page.Table of ContentBenefits of
3 min read
Edge Operations
Find unused JS and CSS code in Microsoft Edge Browser
During the development of websites developers may leave some unused JS and CSS code in the production. These unused JS and CSS codes are being downloaded by the browser when the site is visited by the user and can result in slowing down the page loading time, increase in internet consumption or incr
3 min read
Disable JavaScript in Microsoft Edge Browser
There can be various reason to disable JavaScript in Edge browser. It may be for testing purpose to check how the website renders without JavaScript or to improve personal experience. There are two ways to disable JavaScript in Edge: Using Site Permission in Setting page Using Command Menu in Develo
2 min read
How to View and Edit local Storage in Microsoft Edge Browser
Local Storage in Microsoft Edge is a key component for web developers, allowing websites to store data locally in the user's browser. This feature is especially useful for saving preferences, session data, or even small-scale databases that need to persist between sessions. If you're looking to view
5 min read
Managing Cookies in Microsoft Edge: Viewing, Editing, and Deleting
Cookies are small files that store information about your browsing activity, such as your login credentials, preferences, and site settings. While cookies are useful for enhancing the browsing experience, they can also impact your privacy and website performance. Microsoft Edge provides tools to man
8 min read
Device Emulation in Microsoft Edge Browser [Full Guide]
Testing your website or web app on various devices is essential to ensure it offers a consistent and responsive user experience across different screen sizes. Device emulation in the Microsoft Edge browser allows developers and designers to simulate how their site or application will appear on vario
10 min read
CSS Font Style and Properties in Styles Pane in Microsoft Edge Browser
In Edge, the Elements tool Styles Pane provides a font editor to change the CSS font family and properties. This helps developers quickly check for different font styles and properties. The webpage directly updates with any changes made to the Font Editor in the Styles Pane.Benefits of Font Editor i
3 min read
Inspecting CSS Grid in Microsoft Edge Browser
CSS has grid layouts, which allow developers to arrange elements in rows and columns. In DevTools, the Elements tool provides a layout pane where you can customize various options related to the inspection of any grid layout on the page.Benefits of inspecting the CSS gridThe various benefits of insp
4 min read
Running JavaScript in Console in Microsoft Edge Browser
JavaScript is an important programming language that is mainly developed for web use cases and it plays a vital role in improving the responsiveness and usefulness of websites. On the other hand, Microsoft Edge is a web browser that offers a built-in JavaScript engine for development. So here, we'll
3 min read
Network Request Blocking in Microsoft Edge Browser
One can manage network requests with Microsoft Edge using a feature called Block Network Request. Developers can control network activities. This is helpful for reasons like debugging, security, and page load optimization. In this article, we will understand how to block network activities with this
4 min read
Sending Web API requests using Network Console Tool in Microsoft Edge Browser
Application programming interface testing, sometimes known as API testing, is a subset of software testing that focuses on evaluating the interactions between various APIs and specific API functions. We can test the API in many ways such as accessing the endpoints through the Postman, browser, etc.
3 min read
Breakpoints in Microsoft Edge Browser
Microsoft Edge is a widely used web browser known for its excellent developer tools that help web developers in creating and fine-tuning websites. One of the essential features of these tools is breakpoints, which help in debugging and improving the performance of web applications. Breakpoints allow
5 min read