Viewport Size Tester

The Viewport Size Tester tool lets you quickly check your website at different screen size resolutions.

How to use the Viewport Size Tester Tool

Easily test how any website looks on desktop, tablet, and mobile screens with this simple Viewport Size Tester tool, just enter a URL and preview responsive layouts instantly.

  1. Enter the Website URL
    • In the input field labelled “Website URL”, type or paste the full link of the website you want to test.
    • Example: https://example.com
  2. Click the Green “Test Viewport” Button
    • This will generate 3 previews:
      • Desktop view (1200px wide)
      • Tablet view (768px wide)
      • Mobile view (375px wide)
  3. Scroll Down to View the Previews
    • You’ll see how the site looks in each screen size using embedded iframes.
  4. (Optional) Copy the Preview Code
    • Click the “Copy Preview Code” button.

    • A prompt will ask for confirmation. Click OK.

    • The preview HTML code is copied to your clipboard, you can now paste it wherever you need (e.g., an email or code editor).

Viewport Size Tester

Should I test websties on phycial devices

Yes, testing website designs on physical devices is highly recommended. While tools like viewport simulators and browser dev tools are useful, they can’t fully replicate real-world behaviour. Physical devices provide accurate insights into performance, touch responsiveness, screen brightness, and actual user experience.

You can test how your website behaves with real network speeds, device-specific bugs, and various operating systems. This helps ensure your site is truly mobile-friendly, loads quickly, and works smoothly across different devices. For best results, combine physical device testing with virtual tools to cover more scenarios and catch issues that may not appear in a simulated environment.

Does this tool work with all web browsers

This tool works with most modern web browsers like Google ChromeMozilla FirefoxMicrosoft Edge, and Safari.

However, a few things to keep in mind:

  • Supported: Most HTML5-compliant browsers will run the tool correctly.

  • iFrames May Not Load: Some websites have security settings (like X-Frame-Options) that block loading in iframes, so they won’t display-even though the tool itself is working.

  • Outdated Browsers: Very old browsers (like Internet Explorer) may not fully support features like the URL object or clipboard copy.

So yes, the tool works in general, but site previews depend on the website’s iframe policy.

FAQs about Viewport Size Tester Tool

It previews how a website looks on desktop (1200px), tablet (768px), and mobile (375px) viewports using iframes.

Enter a website URL (starting with http:// or https://) and click the “Test Viewport” button to generate the previews.

No. Just open the HTML file in any modern web browser—no installation or plugins required.

No. The tool only works with publicly accessible URLs on the internet.

Some websites block iframe embedding using security headers like X-Frame-Options. This prevents them from loading in the tool.

Yes. After generating the preview, click the “Copy Preview Code” button to copy the HTML snippet.

Yes, the tool itself is responsive and can be used on mobile devices, though testing is more convenient on a desktop.

No. It only shows visual layout changes based on width. It does not simulate touch, CPU performance, or actual mobile browser behaviour.

It works with most modern browsers (Chrome, Firefox, Edge, Safari). Some features like clipboard copy may not work in older browsers.

No. This is a client-side tool, your URL input stays in your browser and is never stored or sent to a server.

Yes, this tool is 100% free to use. It runs entirely in your web browser, requires no downloads or subscriptions, and doesn’t send any data to a server. Just open the file and start testing!

Disclaimer: DCP Web Designers are not liable for damage or loss of profits caused by using the Viewport Size Tester Tool on this page.

This website (dcpweb.co.uk) uses cookies to improve your browsing experience and help us understand how our site is used. By continuing to browse this website, you agree to our use of cookies.

To learn more about how we collect, use, and protect your data, please read our Privacy Policy.

Since 2004, we have designed and developed websites for companies across a wide range of industries, from local service businesses to ecommerce brands and professional organisations.

Our focus is on creating websites that not only look professional, but also perform well in search engines, attract the right audience and support long-term business growth.

If you are looking for experienced web designers who understand how to build websites that deliver real results, our team is here to help.

Privacy Policy

Last Updated: 01/07/2024

Different Colour Productions Ltd (“we,” “us,” or “our”) is committed to protecting your privacy. This Privacy Policy outlines our practices concerning the collection, use, and disclosure of personal information when you visit our website or engage with our services. By using our website and services, you consent to the terms outlined in this Privacy Policy.

1. Information We Collect

We collect various types of information to provide and improve our services. The types of information we may collect include:

1.1. Personal Information: This may include your name, email address, phone number, and any other information you provide when you contact us, request information, or subscribe to our newsletter.

1.2. Log Data: When you visit our website, we automatically collect information, such as your IP address, browser type, pages visited, and the time and date of your visit.

1.3. Cookies and Similar Technologies: We use cookies and other tracking technologies to improve your experience on our website. You can adjust your browser settings to reject cookies or be alerted when cookies are being used.

2. How We Use Your Information

We use the collected information for various purposes, including:

2.1. Providing Services: To provide web design and related services you have requested from us.

2.2. Communication: To respond to your inquiries, send updates, and provide customer support.

2.3. Analytics: To analyse and improve our website and services, as well as monitor usage patterns.

3. Information Sharing and Disclosure

We do not sell or rent your personal information to third parties. However, we may share your information with third parties under the following circumstances:

3.1. Service Providers: We may share your information with trusted service providers who help us deliver our services, such as hosting providers, analytics providers, and marketing services.

3.2. Legal Obligations: We may disclose your information when required by law, to comply with legal processes, or to protect our rights, privacy, safety, or property.

4. Your Choices

You have choices regarding your personal information:

4.1. Access and Update: You can access and update your personal information by contacting us.

4.2. Marketing Communications: You can opt out of receiving marketing communications from us by following the unsubscribe instructions in our emails or emailing [email protected]

5. Security

We take appropriate measures to protect your personal information from unauthorised access, disclosure, alteration, or destruction.

6. Links to Other Websites

Our website may contain links to third-party websites. We are not responsible for the privacy practices of these websites. We recommend reviewing their respective privacy policies.

7. Changes to this Privacy Policy

We may update this Privacy Policy from time to time to reflect changes in our practices. Any changes will be posted on this page, and the date at the top will indicate the latest update.

8. Contact Us

If you have any questions or concerns about this Privacy Policy or our practices, please contact us at: [email protected]

By using our website and services, you acknowledge that you have read and agree to this Privacy Policy. Different Colour Productions Ltd is committed to safeguarding your personal information and respecting your privacy rights.

ThreeBestRated Top 3 Website Designers in London 2026 award for DCP Web Designers Certificate