October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan NowOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk5 min

How to Capture a Mobile-Width Website Screenshot with URL2PNG

Set URL2PNG’s viewport to a mobile width, add a mobile user agent if the target needs one, and choose whether to capture the viewport or full page.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Set URL2PNG’s viewport option to the width and height you want, such as 390x844, to capture a mobile-width layout. If the site varies its response based on browser or device identification, also set a suitable mobile user_agent. The viewport controls the page’s rendered dimensions; the user agent tells the site what kind of browser is requesting it.

Build a URL2PNG request for a mobile viewport

URL2PNG’s v6 endpoint uses this structure:

https://api.url2png.com/v6/{APIKEY}/{TOKEN}/png/?{query_string}

As an Amazon Associate I earn from qualifying purchases.

Put the target page URL and capture options in the query string. The token is an MD5 hash of the complete encoded query string concatenated with your account secret. That means you must finish encoding the parameters before generating the token. Keep the secret on a trusted server; do not put it in browser-side code.

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

Python-like request-building example

The following is explanatory pseudocode based on URL2PNG’s documented token scheme, not a tested request. Replace the credential placeholders and use a query-encoding and MD5 library appropriate to your application.

#1 Best Overall
EUCOS 62" Phone Tripod, Tripod for iPhone & Selfie Stick with Remote
  • 100% LIFETIME PROTECTION: Enjoy reliable performance with lifetime coverage, guaranteeing your tripod is always protected against any defects or issues.
  • Ultimate Materials & Engineerin: EUCOS's phone tripod utilizes modified Nylon PA6/6 for all-weather durability. The engineered polymer delivers exceptional crush/shear resistance and toughness, achieving optimal rigidity-flexibility balance.
  • Rapid Extension Tripod for Phone: Glide the rod in a single, fluid motion to convert it from a compact tripod into a full 62" selfie stick. Achieve instant elevation for dynamic filming.
  • Studio-Grade Phone Rig: Safely harness phones from 2.2" to 3.6" wide with pro-level clamping and effortless framing. Built-in cold shoe expands your creative options with lights and mics.
  • Hands-Free Control: The Wireless remote enables instant pairing with smartphone and remote capture from up to 33ft/10m. Ensures rock-solid stability for blur-free photography and Start/Stop video recordings effortlessly—all without device contact.

query = urlencode({"url": target_url, "viewport": "390x844", "fullpage": "false"})
token = md5((query + secret).encode("utf-8")).hexdigest()
request_url = f"https://api.url2png.com/v6/{apikey}/{token}/png/?{query}"

URL2PNG’s official quickstart also gives examples in Python, Ruby, NodeJS, PHP, and curl. See the URL2PNG documentation for its current endpoint and implementation details.

Choose the dimensions and capture area

Set the viewport, not the output-width limit

Use viewport in width-by-height pixels. For example, 390x844 requests a 390-pixel-wide browser viewport with an 844-pixel height. The width is what prompts responsive layouts to use a narrow-screen presentation. URL2PNG’s documentation lists a default viewport of 1480x1037 under Advanced Options, while its code examples show other defaults, so specify the dimensions explicitly rather than relying on an implicit default.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
Sale
SENSYNE 62" Phone Tripod, Extendable Selfie Stick with Wireless Remote
  • 62" Phone Tripod & Selfie Stick Combo: Extendable phone tripod for iPhone and Android, combining a tripod stand and selfie stick in one lightweight design for selfies, photos, videos, vlogging, live streaming, and family gatherings.
  • Adjustable Height & 360° Rotation: The tripod extends up to 62 inches to support standing shots, group photos, video calls, and content creation. The 360° rotating phone holder allows vertical or horizontal shooting.
  • Stable Phone Holder for Daily Recording: Designed for hands-free video recording, online meetings, tutorials, livestreams, and social content. The phone holder keeps your device positioned securely for clear, steady shots.
  • Wide Compatibility with Phones and Cameras: Fits most smartphones from 2.8" to 5.7" wide and includes a universal 1/4" screw mount for compatible cameras, action cameras, webcams, and camcorders.
  • Wireless Remote & Complete Kit: Includes 1 phone tripod/selfie stick, 1 universal phone holder, 1 adapter, and 1 wireless remote shutter. Backed by 12-month after-sales support for everyday shooting needs.

thumbnail_max_width constrains or scales the output image width; it does not change the browser viewport at which the page is rendered. Use viewport to request a mobile-width layout.

Choose viewport-only or full-page

fullpage defaults to false, which captures the viewport. Keep it false for a screen-sized mobile screenshot. Set it to true when you want URL2PNG to attempt a capture of the full document canvas. This option controls capture height and does not make the viewport narrower.

Add a mobile user agent only when needed

A narrow viewport is often enough for a responsive site, but some pages serve different content based on browser identification. In that case, add user_agent with an appropriate mobile browser string as well. Cloudinary’s URL2PNG example pairs a mobile viewport with a mobile Safari user agent, but uses an older iPhone string; don’t copy it uncritically for a current test. Use a current, suitable user-agent string for the browser you intend to represent.

Rank #3
Sale
Liphisy 64” Tripod for Cell Phone & Camera with Remote and Phone Holder | Sturdy & Stable Height Adjustable Multi-Angle Shot Selfie Stick Tripod for Video Recording
  • 【Sturdy and Stable】: Made of premium aluminum alloy and stainless steel, Liphisy phone tripod with remote keeps your device stay securely in place for still shots and video recording.
  • 【Multi-angle Shot】: With a max height of 64”, this tripod stand with a 210-degree rotation head and 360-degree rotation holder allows you to capture shots from any angle, catering to different photography needs.
  • 【Wireless Remote Included】: Package includes a wireless remote that connects to your cell phone easily, making it a breeze to snap photos or video recordings.
  • 【Height Adjustable】: The height of this cell phone tripod with remote can be adjusted from 17” to 64” and the easy lock mechanism makes it really easy to set up. It gives you an excellent vantage point for capturing photos and videos.
  • 【Wide Application】: Compatable with different phone and camera, this tripod is great for photography and video recording, perfect for travel and home use.

Wait for dynamic page content

URL2PNG provides two relevant options:

  • delay waits a fixed number of seconds after document readiness and asset loading.
  • say_cheese=true waits for a page element with the ID url2png-cheese.

If you control the target page, an explicit readiness marker can be more intentional than guessing a delay. Use a delay when a fixed wait is the practical option. Neither documented mechanism guarantees that every third-party or late-loading element will be ready, so choose the wait strategy with the page’s actual behavior in mind.

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

Handle cached screenshots and freshness

The URL2PNG quickstart gives a default cache TTL of 2592000 seconds (30 days). If the target page changes and you need a fresh capture, use the unique option to vary the request value; the documentation suggests a timestamp. Since the token is based on the full query string, regenerate it after changing or adding any parameter, including unique.

Use Cloudinary only if you need its integration

Cloudinary documents URL2PNG as an add-on. In that workflow, choose the url2png delivery type, provide the website URL as the public ID, then append options such as viewport and user_agent in the documented format. Cloudinary’s documentation says dynamic screenshot transformation URLs must by default be eagerly generated or signed, which helps control access to those URLs and avoid unplanned dynamic URL costs. This Cloudinary-specific setup is not needed for a direct URL2PNG API request.

Rank #4
Sale
RISEOFLE 71” Phone Tripod & Selfie Stick, Portable All in One Extendable Cell Phone Tripod Stand, with Wireless Remote Control for iPhone/Samsung/Android/Camera
  • [Versatile Design] RISEOFLE 71'' Phone Tripod and Selfie Stick combo is the perfect accessory for all your cell phone photography needs.The high-quality aluminum alloy telescopic pole allows you to extend effortlessly and smoothly, and turns into a tripod with just one pull. Its sturdy yet lightweight design provides stability and reliability, ensuring that your phone or camera stays safe during use. Ideal for Selfies/Live/Video Recording/Travel
  • [Extra Tall 71" Adjustable Phone Tripod] This selfie stick tripod features a 7-section adjustable aluminum telescoping pole that adjusts from 12.2 in (31 cm) to 70.86 in (180 cm). Provides exceptional flexibility for shooting a variety of shots. Whether you're taking a selfie, a group photo or shooting a video, the adjustable height ensures you get the best angle every time.
  • [Compact & Portable Design] The RISEOFLE phone tripod stand With a folded length of only 31cm (12.2 in) and a weight of 264g (0.58 lb), extremely portable and easy to store, it can be effortlessly placed into your backpack or carry-on luggage, making it the perfect companion for your travels. Wherever you go, it allows you to capture amazing footage with ease.
  • [360° Rotation & Wide Compatibility] Featuring a 360° rotating phone holder, this selfie stick tripod allows you to easily switch between portrait and landscape modes for the best viewing angle. The universal holder fits smartphones with widths of 2.6''-3.6'' (4''-7'' screen size) and is compatible with most cameras, action cams, and webcams via the 1/4” screw mount (Note: the remote control function only applies to cell phones, the camera cannot use the remote control function).
  • [Perfect for Content Creation] Ideal for selfies, vlogging, and social media content creation, the RISEOFLE Tripod comes with a wireless remote control for hassle-free shooting. Whether you're on Instagram, YouTube, TikTok, or Twitter, this phone stand for filming helps you capture professional-quality photos and videos with ease.

Cloudinary’s instruction is: “Set the delivery type to url2png and the public ID to the URL of the website to capture.” See its URL2PNG Website Screenshots Add-on documentation for the integration workflow.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Troubleshoot common capture problems

  • The page looks like a desktop site: Confirm that viewport is set to the intended width and height, and check whether the target uses user-agent detection. If it does, supply a suitable mobile user_agent.
  • The image is narrow but the layout is still desktop-sized: Check that you changed viewport, not only thumbnail_max_width. Output scaling does not select the page’s layout width.
  • The screenshot is taller than the visible mobile screen: Set fullpage=false for viewport-only output. Use true only when you want the full document canvas attempted.
  • Images or other content are missing: Try an appropriate delay, or use say_cheese=true with the url2png-cheese marker if you control the page. A wait does not guarantee that every late-loading third-party element has completed.
  • You receive an unexpected result after changing options: Re-encode the complete query string and regenerate the token. The token is tied to the exact query string and secret.
  • The page appears unchanged after an update: A previous result may be cached under the documented 30-day default TTL. Vary unique, for example with a timestamp, and generate a new token for the changed query.

Or skip the browser setup

ScreenshotNeo takes a screenshot with one GET request; see the ScreenshotNeo API documentation for request options.

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

curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp

Best Value
Amazon Basics 64-inch Extendable Tripod for iPhones and Smartphones, Selfie Stick Mode and Phone Tripod Mode, Black
  • Rotatable twist with 1/4"screw allows 360° adjustment and 180° flipping, so you can take photos, video call or live broadcast with ease
  • Universal compatibility with smartphones up to 3.7 inches wide, GoPros, digital cameras and webcams
  • Includes a wireless remote with a range of 30 feet (without obstacle), so you can easily take individual, group and wide-angle shots
  • Swaps easily between handheld selfie stick and stand-alone tripod for dual-purpose use
  • Whether you're an amateur, enthusiast or professional, this is a must-have accesory for shooting on the go

ScreenshotNeo removes cookie banners, newsletter popups, and chat widgets before capture; bot checks, blank pages, and failed loads are never billed. Its MCP server lets AI agents take screenshots, and the free plan includes 1,000 screenshots a month with no card; paid plans start at $5 for 3,000. See ScreenshotNeo for details. Sign up free for 1,000 screenshots a month, with no card required.

Frequently Asked Questions

Does a mobile viewport guarantee the page will use its mobile layout?

No. A site may also rely on browser or device identification, in which case set a suitable mobile user_agent as well.

Can I use the same URL2PNG token after changing the viewport?

No. Changing the viewport changes the query string, so encode the final parameters and generate a new token.

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

Can I set up Cloudinary just to make a direct URL2PNG API request?

No. Cloudinary’s delivery-type and public-ID steps apply to its add-on integration; a direct URL2PNG request does not need them.

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.

Leave a Reply

Your email address will not be published. Required fields are marked *

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

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.