How to Turn a Webpage into a PNG Image Using CloudConvert
Capture a live webpage as a PNG with CloudConvert’s website tool or API, with practical steps, runnable examples, troubleshooting, and an alternative.
To turn a live webpage into a PNG with CloudConvert, use its Website PNG Screenshot tool: enter the page URL, adjust the available capture settings if needed, and run the screenshot. CloudConvert says the tool uses Chrome, captures the full page by default, and lets you customize resolution and other parameters. For repeatable captures in an application, use CloudConvert’s website screenshot API. ScreenshotNeo is another option for developers who want a screenshot API or MCP server.
Capture a webpage in CloudConvert’s website tool
- Open CloudConvert’s Website PNG Screenshot page.
- Enter the public webpage URL you want to capture.
- Adjust the screen resolution or other available parameters if the default capture does not fit your needs. The default is a full-size screenshot.
- Start the screenshot job and save the resulting PNG when CloudConvert makes it available.
Use the page’s URL screenshot tool for a live website. CloudConvert also has an HTML-to-PNG converter, but that route starts with an HTML file, rather than a live webpage URL. It is a different workflow; the reviewed product information does not establish how local files’ external scripts, fonts, or assets are handled.
Use CloudConvert’s API for recurring captures
The API is useful when a capture needs to run from an application or as part of a repeatable job. CloudConvert documents a capture-website task that takes a URL and output format, then exports the result. Its API documentation also describes controls such as full-page capture, viewport dimensions, zoom, waiting for a selector, optional authorization headers, synchronous or asynchronous processing, and storage integrations. These are API capabilities; do not assume they are all available in the consumer website tool.
CloudConvert API jobs use tasks connected by their task names. The following is a representative JSON job structure based on the documented operation; provide it to the CloudConvert API using the authentication and job-creation flow in its API documentation. The precise endpoint, authentication method, and export destination depend on your integration.
{
"tasks": {
"capture": {
"operation": "capture-website",
"url": "https://example.com",
"output_format": "png",
"width": 1440,
"height": 900,
"wait_for_element": "main"
},
"export": {
"operation": "export/url",
"input": "capture"
}
}
}
Before using this in production, check the current API documentation for required task fields, supported wait controls, output retrieval, authentication, and whether your chosen export target requires additional configuration. Do not treat this illustrative task object as a complete authenticated HTTP request.
Choose capture settings deliberately
- Output format: set PNG when you need lossless raster output or transparency where supported. The documented capture operation also supports JPG output.
- Viewport and full page: use a viewport size for a consistent screen-sized image; use full-page capture when the entire document matters. Dimensions can affect image size and processing.
- Wait for content: wait for a meaningful selector when the page renders asynchronously. A selector wait can fail if the selector never appears, so choose one that reliably exists.
- Protected pages: the API documentation describes optional authorization headers for protected resources. Do not put long-lived secrets in client-side code or public job definitions.
- Execution mode and storage: choose sync or async processing and an export or storage integration appropriate to how your application retrieves the output.
Or skip the browser setup
ScreenshotNeo is a website screenshot API and MCP server. One GET request returns a PNG, JPEG, WebP, or PDF. Its clean-shot workflow accepts cookie and consent banners like a visitor and removes more than 60 known consent platforms, newsletter popups, and chat widgets before capture; each step can be turned off. Bot checks, CAPTCHAs, blank pages, timeouts, failed loads, and cache hits cost nothing, and response headers report the page verdict and billing status. AI agents can use its MCP server tools: take_screenshot, get_page_info, and capture_pdf.
cURL:
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp
Python:
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)
Node.js:
const q = new URLSearchParams({ access_key: 'YOUR_API_KEY', url: 'https://stripe.com' });
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);
See the ScreenshotNeo API documentation for the full request options. The free plan includes 1,000 screenshots a month with no card; paid plans start at $5 for 3,000, and every feature is on every plan. Sign up free for 1,000 screenshots a month, with no card required.
Pricing and usage considerations
CloudConvert lists 10 free credits per day for personal, testing, and hobby projects. Paid usage consumes credits, and the amount depends on conversion type and processing time. Its Website Screenshot API page advertises a starting price of $0.008 per file, but that is not a guaranteed price for every URL capture. Check CloudConvert’s current pricing page or pricing calculator for your expected job. If you capture frequently, estimate cost using representative pages and the service’s current credit rules.
For a one-off capture, the web tool avoids writing integration code. For scheduled or application-driven captures, the API gives a repeatable job flow and documented controls. In either case, page size, delayed rendering, and remote resources can affect completion time and output size. No fixed processing time is guaranteed by the product details cited here.
Troubleshooting
| Symptom | Likely cause | What to try |
|---|---|---|
| The screenshot is blank or missing content | The page may render asynchronously, or content may depend on remote resources. | Try the API’s documented selector wait for a stable page element. Confirm the target URL loads as expected and that required resources are reachable. |
| The capture is cut off | A viewport-sized capture may not include the full document. | Use the full-size screenshot behavior in the website tool or configure full-page capture through the API. Check the requested dimensions. |
| The output dimensions are wrong | The capture used default or unintended screen dimensions. | Set the desired resolution or API viewport dimensions and run another capture. |
| A selector wait does not complete | The selector may not exist on that page or may be different on some routes. | Use a selector that is present after the content you need appears. Handle pages with route-specific markup separately. |
| A protected page cannot be captured | The page requires authentication or access headers. | For an API integration, consult CloudConvert’s documentation for optional authorization headers. Protect credentials and avoid exposing them in browser code. |
| The API job cannot be retrieved | The job may be asynchronous or the export step may not be configured for the required destination. | Follow the current API documentation for job status and result retrieval, and verify the export task’s input and destination. |
| The credit charge is higher than expected | Credit consumption depends on conversion type and processing time. | Check the current pricing page and calculator for the job configuration; do not assume the advertised starting price applies to every capture. |
Frequently asked questions
Can I turn a local HTML file into a PNG instead?
Yes. Use CloudConvert’s HTML-to-PNG converter when your input is an HTML file. For a live page identified by a URL, use the Website PNG Screenshot tool.
Does CloudConvert capture the whole page?
The Website PNG Screenshot page describes a full-size screenshot as the default. The API also documents full-page capture. Check the available settings for the route you use.
Can I automate screenshots without CloudConvert?
Yes. ScreenshotNeo provides a one-call screenshot API and an MCP server for AI-agent workflows. Its free tier includes 1,000 screenshots per month without a card.


