Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Open the HTML file in Cursor, then use the editor tab’s context menu and choose Open in Browser. Cursor renders the page in its integrated browser. For automatic refresh while you edit vanilla HTML, CSS, and JavaScript, install a Live Preview extension and run its Show Preview command. If you are working on React, Vue, or another framework, start that project’s normal development server and open its localhost address in Cursor’s browser.

Preview a standalone HTML file in Cursor

  1. Open the project: Use File > Open Folder and select the directory containing your site.
  2. Open the document: Select the .html file in Explorer. It must be open as an editor tab; selecting it only in the file tree may not expose the preview action in newer layouts.
  3. Open the tab menu: Right-click the HTML editor tab.
  4. Render it: Choose Open in Browser. Cursor opens the local file in its integrated Browser panel, where you can inspect the rendered page.

The exact menu location is release-sensitive. Cursor’s classic Explorer and newer Glass/Agents layouts have not always shown the same commands. If Open in Browser is missing from the file tree, open the file first and use the tab’s context menu instead.

What this method does and does not do

This is a direct render of a standalone file. It is useful for a page that references local CSS, JavaScript, images, and fonts with paths that work from the file’s location. It does not automatically reload the page after every edit, and it is not a substitute for a framework development server.

Get automatic refresh with Live Preview

For a conventional vanilla site, Live Preview is the practical extension-based workflow. Cursor community guidance describes it as a local-server preview that refreshes after code changes. Install the current Live Preview extension from Cursor’s Extensions view, then:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Sale
Philips 24 Inch Computer Monitor FHD 100Hz VA VESA Flicker-Free, 241V8LB
  • CRISP CLARITY: This 23.8″ Philips V line monitor delivers crisp Full HD 1920x1080 visuals. Enjoy movies, shows and videos with remarkable detail
  • INCREDIBLE CONTRAST: The VA panel produces brighter whites and deeper blacks. You get true-to-life images and more gradients with 16.7 million colors
  • THE PERFECT VIEW: The 178/178 degree extra wide viewing angle prevents the shifting of colors when viewed from an offset angle, so you always get consistent colors
  • WORK SEAMLESSLY: This sleek monitor is virtually bezel-free on three sides, so the screen looks even bigger for the viewer. This minimalistic design also allows for seamless multi-monitor setups that enhance your workflow and boost productivity
  • A BETTER READING EXPERIENCE: For busy office workers, EasyRead mode provides a more paper-like experience for when viewing lengthy documents
  1. Open the HTML file.
  2. Open the Command Palette and run the extension’s Show Preview command, or use the preview action supplied by the extension.
  3. Keep the preview panel open while editing HTML, CSS, or JavaScript.
  4. Save changes if your extension configuration requires saving; some versions watch edits directly.

The extension serves the project over localhost rather than relying on a file:// URL. That matters when browser security rules, modules, fetch requests, or relative paths behave differently from a directly opened file.

When Live Preview is the right choice

  • Plain HTML, CSS, and JavaScript with no build step.
  • You want changes reflected without repeatedly reopening the file.
  • Your page loads assets or modules that work more reliably through HTTP.
  • You need a stable local URL to share with another tool or browser tab.

When it is not enough

Live Preview is not a replacement for a project’s build tooling. A React, Vue, Angular, Next.js, Vite, or similar application should be started with the command defined by that project’s package scripts (for example, the documented dev script). Open the resulting localhost URL in Cursor’s Browser. The available sources do not establish one framework-independent command, so use the repository’s README and package.json rather than guessing.

Use Cursor’s Browser visual editor

Cursor’s Browser workflow can go beyond showing pixels. Where the feature is available in your build, you can inspect the rendered page, rearrange grid or flexbox layouts, adjust typography, select an element, and describe a requested change for the agent to apply to the source. This is useful when you know what should change visually but do not yet know which selector or layout rule controls it.

Rank #2
Philips 22 Inch Computer Monitor FHD 100Hz VA VESA Flicker-Free, 221V8LB
  • CRISP CLARITY: This 22 inch class (21.5″ viewable) Philips V line monitor delivers crisp Full HD 1920x1080 visuals. Enjoy movies, shows and videos with remarkable detail
  • 100HZ FAST REFRESH RATE: 100Hz brings your favorite movies and video games to life. Stream, binge, and play effortlessly
  • SMOOTH ACTION WITH ADAPTIVE-SYNC: Adaptive-Sync technology ensures fluid action sequences and rapid response time. Every frame will be rendered smoothly with crystal clarity and without stutter
  • INCREDIBLE CONTRAST: The VA panel produces brighter whites and deeper blacks. You get true-to-life images and more gradients with 16.7 million colors
  • THE PERFECT VIEW: The 178/178 degree extra wide viewing angle prevents the shifting of colors when viewed from an offset angle, so you always get consistent colors

A safe visual-editing loop

  1. Open the page in Cursor’s Browser.
  2. Check the current DOM and layout at the viewport size you care about.
  3. Select the element or region that needs work.
  4. Describe one concrete change, such as “make the card columns two-wide below 800px and keep 24px spacing.”
  5. Review the proposed source edit, then refresh the preview and test other viewport widths.
  6. Keep or revert the change in version control after checking keyboard focus, content overflow, and responsive behavior.

Visual editing is an interactive layer over your source files, not a guarantee that every generated change is production-ready. Treat the resulting HTML, CSS, and JavaScript like any other code review.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Choosing a Cursor preview workflow

Workflow Setup Reload behavior Project fit Visual editing
Open in Browser Built in; open an HTML tab and use its context menu Manual refresh Standalone files Available through Cursor Browser features where supported
Live Preview Install an extension and run Show Preview Automatic or save-triggered, depending on extension settings Vanilla HTML/CSS/JS served locally Generally focused on preview, not source-generating visual edits
Framework dev server Use the project’s documented package command Provided by the framework’s hot-reload tooling React, Vue, Vite, Next.js, and other build-based apps Use Cursor Browser separately if available
Gossamer Preview Third-party extension; verify its current listing and permissions Advertises live reload without requiring Cmd/Ctrl+S Multiple HTML files and a stable 127.0.0.1 URL Not established as a Cursor visual editor

Troubleshoot a missing or broken preview

“Open in Browser” is not visible

  • Open the HTML file as an editor tab, then right-click the tab rather than the Explorer entry.
  • Check that the file really has an .html extension and is not being opened in a special editor.
  • Look for a command with the same wording in the Command Palette; labels and placement can vary by Cursor release.
  • Reload Cursor after an update, then check the tab menu again.

The page is blank

  • Open Developer Tools in the Browser and inspect the Console for JavaScript exceptions.
  • Confirm that stylesheet, script, image, and font paths are relative to the HTML file or the server root you are using.
  • Check that the document contains visible content inside <body> and that CSS has not set it to display:none, zero height, or transparent text.
  • If the page depends on modules or fetch(), use Live Preview or the framework server instead of a file:// render.

CSS or images do not load

Inspect the failed request’s URL and status. A path beginning with / points to the server root, not necessarily your project folder. For a simple site, prefer paths such as ./styles.css and ./images/logo.png, then verify capitalization on case-sensitive filesystems.

Changes do not appear

  • Refresh the Browser panel and verify that you edited the file being served.
  • Check whether the preview extension reloads on save; save the file if required.
  • Disable aggressive browser caching for local development or append a temporary query string while diagnosing stale assets.
  • For a framework app, confirm the dev server is still running and that you opened its current port.

JavaScript behaves differently in preview

Inspect the Console and Network panels. Mixed-content restrictions, CORS, blocked third-party scripts, and missing environment variables can all affect a local page. A static preview cannot reproduce server-side routes, authentication middleware, or production headers unless your local server supplies them.

Rank #3
Sale
Dell 24 Monitor - SE2426H - 23.8-inch FHD (1920x1080) 144Hz 1ms Display, in-Plane Switching (IPS) Technology, AMD FreeSync™, TÜV 3-Star 2X HDMI, Tilt
  • Clear visuals. Fluid motion: A 144Hz refresh rate and 1ms MPRT deliver smooth, tear‑free motion across work, gaming, and streaming for clearer, more fluid viewing.
  • Eye comfort: TÜV Rheinland 3‑star* certification reduces harmful blue light while preserving stunning color quality without compromise. *TÜV Rheinland 3-star eye comfort certification.
  • Wide viewing angle: Get consistent views across a wide 178° /178° viewing angle.
  • In-Plane Switching (IPS): See excellent color accuracy and consistency across wide viewing angles with In-plane Switching (IPS) technology.
  • Ultra-thin bezels: Maximize your viewing experience with thin bezels.

Preview accurately across viewports

Check the widths your CSS actually targets rather than relying on one desktop view. Test keyboard navigation, focus indicators, long text, reduced-motion preferences, touch-sized controls, and images that load slowly. If your layout uses lazy loading or intersection observers, scroll through the complete page so below-the-fold content is exercised. For a framework, test both the development server and a production build because bundling and routing can change behavior.

Or skip the browser setup

If you need a repeatable image or PDF of a page instead of an interactive local editing session, ScreenshotNeo provides a website screenshot API. It accepts a URL and can capture PNG, JPEG, WebP, or PDF. Before capture it can accept cookie or consent banners and remove more than 60 known consent platforms, newsletter popups, and chat widgets; each cleanup step can be disabled.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Only clean shots are billed. Bot checks or CAPTCHAs, blank pages, timeouts, failed loads, and cache hits cost nothing, and the response identifies the result with X-Page-Verdict and X-Billed headers. It also offers an MCP server for Claude, Cursor, and other MCP clients, with take_screenshot, get_page_info, and capture_pdf tools.

One-call examples

See the full parameter reference in the ScreenshotNeo documentation.

Rank #4
Samsung 27" Essential S3 (S36GD) Series FHD 1800R Curved Computer Monitor
  • CURVED FOR ENHANCED ENGAGEMENT: An immersive viewing experience with a curved monitor that wraps more closely around your field of vision; It creates a wider view, enhancing depth perception and minimizing peripheral distraction
  • SMOOTH PERFORMANCE FOR SEAMLESS CONTENT: Stay in the action when playing games, watching videos, or working on creative projects; The 100Hz refresh rate reduces lag and motion blur so you don't miss a thing in fast-paced moments¹
  • MORE GAMING POWER: Gain the edge with optimizable game settings; Color and image contrast can be adjusted to see scenes more vividly and spot enemies hiding in the dark; Game Mode adjusts any game to fill the screen so you can view every detail²
  • KEEP IT EASY ON THE EYES: Care for your eyes and stay comfortable, even during long sessions; Advanced eye comfort technology certified by TÜV reduces eye strain by minimizing blue light and reducing irritating screen flicker²
  • INCREASED VERSATILITY: Connect to more; Plug devices straight into your monitor for increased flexibility, making your computing environment even more convenient
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp
import requests
r = requests.get("https://api.screenshotneo.com/v1/shot", params={"access_key": "YOUR_API_KEY", "url": "https://stripe.com"}, timeout=90)
open("shot.webp", "wb").write(r.content)
const q = new URLSearchParams({ access_key: 'YOUR_API_KEY', url: 'https://stripe.com' });
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);

ScreenshotNeo includes full-page capture with lazy images loaded, CSS-selector element capture, dark mode, device presets and custom viewports, retina scale, PDF paper and page controls, custom CSS and JavaScript, clicks, selector or network-idle waits, request blocking, headers, cookies, user agents, authorization, timezone and geolocation, transparent backgrounds, resizing, selectable-TTL caching, signed image links, asynchronous webhooks, bulk capture for 100 URLs per call, a usage API, and an OpenAPI specification. Parameter names used by other screenshot APIs also work.

The Free plan includes 1,000 screenshots each month with no card. Paid plans start at $5 for 3,000 shots; yearly billing provides two months free. Create a free ScreenshotNeo account to try it without a card.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

FAQ

Can I preview HTML without leaving Cursor?

Yes. Open in Browser displays the page in Cursor’s integrated Browser. Live Preview can keep a local preview updating as you edit.

Best Value
Sale
Sceptre New 22-Inch Gaming Monitor, FHD 1080p, Up to 144Hz, HDMI, DisplayPort, Built-in Speakers, Machine Black (E225W-FW144 Series, 2026)
  • 【INTEGRATED SPEAKERS】Whether you're at work or in the midst of an intense gaming session, our built-in speakers provide rich and seamless audio, all while keeping your desk clutter-free.
  • 【EASY ON THE EYES】 Protect your eyes and enhance your comfort with Blue-Light Shift technology. This feature reduces harmful blue light emissions from your screen, helping to alleviate eye strain during long hours of use and promoting healthier viewing habits.
  • 【WIDEN YOUR PERSPECTIVE】Our sleek minimal bezel design ensures undivided attention. The nearly bezel-free display seamlessly connects in a dual monitor arrangement, delivering an unobstructed view that lets you focus on more at once, completely distraction-free.

Is there a universal keyboard shortcut?

No stable cross-platform shortcut is established for every current Cursor build. Use the visible tab command or search the Command Palette.

Should I use Live Preview for React?

Usually not. Start React’s documented development server so JSX, bundling, routing, and environment variables are handled correctly, then open its localhost URL in Cursor.

Frequently Asked Questions

Why does my preview show an old version after I save?

Refresh the Browser panel, confirm the correct file or localhost port is open, and check whether your Live Preview extension is configured to reload on save.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Can Cursor preview a PDF of my HTML page?

Cursor’s built-in workflow is for browser rendering. Use your project’s browser print tools or a dedicated capture service when you need a generated PDF.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.