HTML checker
Check an HTML file for the things that break when it is shared, such as blocked scripts, outside data calls and remote images. With fixes.
Last updated
The report appears here. The file is checked in your browser and is not uploaded.
Steps
- 1
Paste HTML or open a file
Paste the source into the box, drop an .html file on it, or use Open a file. The check runs in your browser.
- 2
Read the report
Each outside resource the page refers to is listed as allowed or blocked, with the rule that applied.
- 3
Fix what is blocked
Use the table below, or paste the fix prompt into the AI tool that made the file.
- 4
Check again, then share
When the report is clean, turn the file into a link.
An HTML file that works on your desktop can still fail when shared. Shared documents run in a sandbox that blocks some things on purpose. This page lists the rules so you can fix a file before anyone sees a blank chart.
The checker above reads a file in your browser and lists everything it refers to outside itself. It uses the same list of allowed hosts that the sandbox enforces. It does not run the file.
What is allowed and what is blocked
| The page does this | Result | Fix |
|---|---|---|
| Inline scripts and styles | Allowed | None |
| Files inside the uploaded ZIP, by relative path | Allowed | None |
| Scripts or styles from cdnjs.cloudflare.com, cdn.jsdelivr.net, unpkg.com, cdn.tailwindcss.com or esm.sh | Allowed | None |
| Google Fonts | Allowed | None |
| Images as data URIs, inline SVG, or files in the ZIP | Allowed | None |
| Scripts or styles from any other host | Blocked | Switch to an allowed CDN, or inline the code |
fetch or XHR to an outside URL | Blocked | Embed the data in the file |
| Remote images, video or audio | Blocked | Embed them, or include them in the ZIP |
| Embedded iframes, such as a video player or a map | Blocked | Link to it instead, or use a static image |
| Forms that submit to a server | Blocked | Handle the input in page script |
| Popups and new windows opened by script | Blocked | Use normal links. The viewer opens them safely |
alert, confirm and prompt dialogs | Blocked | Show messages in the page |
| Camera, microphone, location | Blocked | Not available in shared documents |
These rules come from the sandbox design in the security model. The list may change during the beta.
Check a file by hand
- Open the file in a text editor.
- Search for
src="httpandhref="http. Every host you find should be on the allowed list, or be a normal link the reader clicks. - Search for
fetch(,XMLHttpRequest,WebSocketandEventSource. Any outside URL will fail. - Search for
<iframeand<form. Remove them or replace them. - Open the file in a browser with the network turned off. Whatever still works is what your reader will see, apart from the allowed CDNs.
Step 5 is the fastest test. If the page is complete offline, it is self-contained.
The fix prompt
Paste this into the AI tool that produced the file:
Make this HTML file fully self-contained so it works in a restricted sandbox.
- Embed all data in the file. Remove every fetch, XHR and WebSocket call
to an outside URL.
- Inline CSS and JavaScript, or load libraries only from cdnjs.cloudflare.com,
cdn.jsdelivr.net or unpkg.com.
- Replace remote images with inline SVG or data URIs.
- Remove iframes and forms that post to a server.
- Replace alert, confirm and prompt with messages shown in the page.
- Keep the look and behaviour the same.
Other things worth checking
These do not block rendering, but they affect readers:
- Title tag. It appears in the viewer and in the reader's browser tab.
- Phone layout. Most shared links are opened on a phone first.
- Headings. Section analytics, planned for a later phase, use headings to name sections. Clear headings make that data readable.
- Secrets. Search for
key,tokenandsecret. AI tools sometimes leave space for an API key, and people fill it in. - File size. Large embedded images slow the first paint. Compress them before embedding.
Next
To see the page render, use the HTML viewer. To share it, use HTML to link.
Frequently asked questions
- Is my file uploaded?
- No. The file is read and checked in your browser. Nothing is sent to Linkwoven.
- What can the checker miss?
- It reads the markup and looks for addresses in inline code. It cannot see an address that a script builds while it runs, or what a script loaded from another site does. It does not open ZIP archives. Opening the shared link is the final test.
- Is this an HTML validator?
- No. A validator checks markup against the HTML standard. This checker looks at what the page loads and does, and whether that will work inside a shared-document sandbox.
- Why are outside API calls blocked?
- A shared document that can call any server can also send its contents, or details about its readers, to any server. Blocking outside calls keeps the document self-contained.
- Why are remote images blocked?
- A remote image tells the server hosting it that someone opened the document, and from where. Images inside the file or the uploaded ZIP are fine.
- Can the allowed list of script hosts change?
- Yes. It starts short on purpose. A later phase plans to copy CDN dependencies into the document at upload so that no outside host is needed.