BROWSER RENDERING STUDIO

One document. Every format.

Render real HTML, CSS and JavaScript to PDF, vector SVG or raster images. Choose an example, adjust it and export.

Document source

CSS, JavaScript, SVG and data-URI images are supported. The preview runs in a separate sandbox.
Enter a name without a directory or extension. The output format adds its extension; your browser chooses the download folder and resolves duplicate names.
PDF page setup
Orientation
0.10–2.00; 1 = 100%, 0.75 = 75%.
PDF paper, landscape, margins and scale define its Auto browser viewport. Templates can read the configured geometry through webRender.pdf. Source CSS controls its own padding and may override printed page geometry.
Rendering options
0 = Auto in any unit. All units allow decimals. PDF Auto follows its configured printable area divided by scale; SVG and raster Auto use a 1280 × 900 CSS-pixel browser viewport. Browser dimensions control the viewport; source CSS controls content sizing. PDF page controls do not affect images. CSS @page controls PDF printing, including when CSS media is Print. The final browser dimensions are rounded to whole CSS pixels; source CSS and SVG geometry keep fractional precision. PDF paper and SVG physical size are separate settings.
Auto uses print CSS, including page-break rules, for PDF and screen CSS for images.
Language tag such as en-US or da-DK; controls language and number/date formatting. Blank uses browser defaults.
IANA timezone. Blank uses the worker's timezone.
Sets devicePixelRatio and resolution queries in every format; also controls raster pixels per CSS pixel.
Applies before navigation to browser scripts and native requests.
Enabled by default when JavaScript is on. Visits the initial capture area and scroll containers, then restores their positions. Applies to every format. Infinite feeds and application-specific loading may still need a readiness signal.
Optional: export the first visible match, such as #invoice, .chart or main. Works with every format; blank exports the document.
Browser request data
Runs before document scripts, including in frames. Use a classic script with no outer function or top-level return/await. JavaScript commands provide awaited preparation and returned C# values after load.
JSON object. Sent only to the source URL or Base URL's origin, including its assets; never forwarded to other origins.
JSON array of native cookies. Set url, or domain and path; use the source site's actual address. Cannot be combined with storage state.
JSON array. Each username/password is restricted to its explicit origin. Used for native HTTP authentication challenges, not website login forms.
Native storage-state JSON, supplied as text rather than a host file path. Can restore cookies, local storage and supported IndexedDB state. Leave Initial cookies empty when using this.
Blank fields use the engine defaults. Request data is sent to the selected renderer and is not saved by the studio. Deployment settings, including proxy, host policy and resource limits, belong to application configuration.
JavaScript commands
JavaScript commands
0 / 10

No commands. Add one to prepare the document or return data to C#.

Write JavaScript statements directly. For example, document.title = 'Review'; sets a value, and return document.title; reads it back to C# under the result key. Use await for asynchronous work. No return value produces null. Keep input data inside the script; local variables are not shared between commands.
Before readiness runs after document load. After readiness runs after the selected ready trigger and delay. Commands keep row order within each phase, before final asset settling and export. Only Render document executes commands; Preview HTML does not.
PDF options
Unchecked preserves the HTML title. An enabled override sets the PDF title and header/footer title placeholder; leave it empty to clear them. Native Chromium manages author, subject, keywords, creation/modification dates, creator and producer. File location belongs to your browser's download folder.
An outline requires tagged PDF. Enabling the outline also enables tagging; turning tagging off removes the outline. Headings in your HTML supply the outline entries.
Embed web fontsAutomatic
Chromium embeds fonts used by the document after they load, normally as subsets. PDF font lists use the font's internal name, which may differ from its CSS family. PDF embedding has no on/off switch.
Use inline styles and reserve top/bottom margins for these templates. Source CSS @page margins override the margin controls. Document styles and scripts do not run in these templates.

Margins accept fractional px, pt, mm and in values. Zero margins remove added page spacing; source CSS still controls its own margins and padding. Native Chromium paper rounding can leave a thin edge on fractional physical sizes. Tagging depends on document semantics.

Output preview

Ready when you are

Your rendered document appears here

Download the original file to inspect text, vectors and pagination.