UTILITIES NEWBIE

Digital tools

Inert HTML layout preview

Inspect a deliberately restricted layout preview without running the source’s scripts or loading its external resources.

Input

Import a local text file

0 UTF-16 code units

Optional local draft

Saving stores a plaintext draft in this browser on this device. Do not save secrets or use this on a shared device. Nothing is saved or loaded automatically. Reset does not delete a saved draft; use Delete local draft.

No draft has been loaded.

Output

How to use this tool

  1. Enter HTML source as text. Use public or synthetic examples. Keep confidential content out of the preview.

  2. Select Preview inert HTML. Read the removal warning and inspect the sandboxed inset; the text output still contains your original markup.

HTML formatting and inert preview

Source and inset are different. Full explanation follows.
Source includes a link href. Text explanation

The checked Sample card fragment retains reader emphasis and Details text in the inset while href is removed there. Copy/Download retain original source including the destination; they do not export the inset containment or certify source as safe.

Inspect a deliberately restricted HTML preview

Separate the source from the inset

This tool helps you inspect simple HTML content in a restricted inset. It is useful for seeing whether headings, paragraphs and lists communicate the structure you intended before moving to a complete development environment. It is not a hosted website preview or a test of all browser features. The restrictions are part of its purpose: the source's scripts and external resources do not run as they would on an ordinary page.

Two different results matter. The text output retains the original source, while a separate representation is prepared for the sandboxed inset. Do not assume that the text output is the filtered document. Copy and Download operate on the source output, so exporting it does not attach the inset's sandbox or content security policy to the downloaded file. Keep that distinction in mind before opening source elsewhere, especially if it came from an unfamiliar author.

Choose a review question that does not depend on a complete application environment. For example, ask whether the heading introduces the following paragraph and whether emphasis identifies the intended word. Those observations can be made with a short synthetic fragment. If the question instead concerns a font, an external image, a script-driven menu or a submitted form, this preview deliberately omits the relevant mechanism. Moving that question to an appropriate authorized test environment is more useful than editing source until an intentionally incomplete inset happens to resemble a production screenshot.

Follow the card and its disabled link

Checked synthetic input

<section><h2>Sample card</h2><p>Hello <strong>reader</strong>.</p><a href="/not-a-navigation">Details</a></section>

Recorded processor observation

<section><h2>Sample card</h2><p>Hello <strong>reader</strong>.</p><a href="/not-a-navigation">Details</a></section>

Paste the checked card fragment and select Preview inert HTML. The inset can show the Sample card heading, the greeting with reader emphasized, and the word Details. The source includes a local link destination, but its href is removed in the inset. The output text still contains the original markup and destination. Compare those two artifacts deliberately: seeing Details as inert text is not a navigation test, and copying the source does not copy the preview’s restricted representation.

Next, consider what would happen if you added a stylesheet or an image address. Their absence from the inset is expected, rather than evidence that the source website is broken. The preview deliberately removes or disables scripts, styles, forms, media, embedded content, links and remote-resource attributes. Read the removal warning after each run. A source fragment can look different because features were excluded, not because a layout engine reproduced the original page incorrectly.

The checked link offers a practical way to learn the distinction between source and inset. In the original, Details is an anchor with a destination. In the filtered representation, the anchor text can remain while the destination attribute is gone. A different synthetic processor check contains an event attribute, a script, a style block and an image reference; the checked preview omits that active or remote material while the returned source text remains unchanged. This demonstrates the local transformation boundary without asking a reviewer to open an exported active document or fetch any remote resource.

Understand the parser and containment boundaries

Input is bounded to 100,000 UTF-16 code units, with a separate 100,000-byte limit for UTF-8 file import. Markup is also limited to 10,000 tokens and 40 nesting levels. A token budget is not the same as a count of visible words or elements. Deeply nested or very fragmented source can therefore hit a structural limit before reaching the text-size limit. Start with a complete small fragment when diagnosing an error.

The empty sandbox and the preview's restrictive content policy are intended to block scripts, forms and resource loading in this inset. That does not make the transformation a reusable sanitizer for another application. Security depends on the surrounding delivery and use as well as the generated text. Never describe a downloaded original as safe merely because its restricted preview was uneventful. Keep untrusted markup as data until it is handled by an appropriate application workflow.

The input filter is part of a specific pipeline, not a portable guarantee attached to every string it prints. The interface inserts the prepared representation into an iframe with an empty sandbox and a restrictive embedded policy. The original output has no such containment merely because it was displayed nearby. Keep that original as data when handing it to another tool. Do not enable scripts or broaden permissions to make the inset behave like a complete website; those changes would alter the very boundary this preview is designed to provide.

Review and transfer the original with context

This constrained view is suited to reviewing the order of short text sections, a simple list or basic emphasis. A content author can catch a missing heading or an unexpectedly nested paragraph before handing the fragment to a developer. It is less suitable for judging branding, precise spacing or a responsive application. Without source styling, a pleasant or unpleasant appearance here does not predict the final design under the site's real CSS.

Links and controls also need a different test environment. Do not use this inset to verify form submissions, navigation, authentication, event handlers or API calls. A button-like element that has no active behavior is not proof that its implementation works. For a full application, test an authorized copy in its intended environment with appropriate security controls. Keep those tests separate from the limited content inspection this page performs.

If you want a structural diagnostic instead of a visual inset, use the HTML structural checker and read its narrower explicit-tag rules. If you want to display tag characters literally in documentation, use HTML text escaping. Those tools answer different questions. Choose the operation before interpreting a result, and preserve the original markup so that a later change can be compared without guessing which stage altered it.

After each run, inspect the warning, the inset and the text output together. Record that the view omitted active and remote features when sharing a finding. Check actual saved files and pasted source before reuse. Reset clears the current workspace, while an optional saved local draft requires its own deletion action. Use non-sensitive test fragments; local tool processing alone does not describe every service associated with a public page, so consult its privacy information.

For a content handoff, include the original fragment, a description of the supported visible hierarchy and the removal warning. Explain that the link was not activated and that the final application’s styling, navigation and accessibility still need their own checks. A downloaded file can faithfully preserve the original source while remaining inappropriate to execute as trusted content. Verify the actual bytes or pasted text as a transfer check, then make a separate decision about where and how that source may be interpreted. This prevents a useful structural observation from becoming an unsupported safety claim.

Supporting reference: Iframe sandbox context; copied original source does not inherit containment.

Worked examples

Input and settings

<article><h2>Notice</h2><p>Hello.</p></article>

Expected output

<article><h2>Notice</h2><p>Hello.</p></article>

The inset shows the heading Notice and paragraph Hello. Text output is the original source, not sanitized HTML for reuse. Scripts, forms, styles, media and remote-resource attributes are omitted from the separate preview.

Related tools

HTML structural checker · Static Pug to HTML converter · HTML text escaper

Find a tool

Type a tool name, such as JSON or percentage.

Quick links

Browse by category

All tools