Guides / Paste HTML
Paste HTML and get a URL
Paste HTML into PreviewShip and get a public URL for AI-generated pages, reports, dashboards, prototypes, and one-off static previews.
Updated 2026-05-29
Answer First
Paste HTML and get a URL by copying a complete HTML document into PreviewShip. PreviewShip packages the pasted source as index.html, deploys it as static output, and returns a public HTTPS preview link.
Key takeaways
- Matches paste HTML get URL and paste HTML online workflows.
- Best for output copied from ChatGPT, Claude, Gemini, Cursor, or a local editor.
- No zip, Git repository, or FTP upload is required for one complete HTML document.
- Use direct .html upload or CLI when the file already exists locally.
Recommended workflow
- Copy a complete HTML document, including doctype, head, title, and body.
- Open PreviewShip and choose Paste HTML.
- Paste the source, name the project, and deploy.
- Share the returned public URL.
Comparison snapshot
| Question | Paste HTML | Upload file |
|---|---|---|
| Best when | Code is in chat/editor clipboard | File already exists locally |
| AI output | Fastest path | Good after saving as .html |
| Assets | Use external/inline assets | Use zip for local assets |
| Automation | Manual browser flow | CLI/MCP/editor available |
Why paste HTML is a separate workflow
Many people now receive HTML from an AI chat rather than from a local project folder. Copying that source into a publish form is faster than creating files, zipping folders, or wiring a repository.
Paste HTML is the lowest-friction path for one-off pages that need review today.
Quality checklist before publishing
A pasted document should include a title, meta description, and complete body content. If it relies on scripts or styles, prefer inline code or reachable external URLs.
FAQ
- Can I paste HTML from ChatGPT and publish it?
- Yes. Paste the full HTML document into PreviewShip and deploy it to receive a public URL.
- Does pasted HTML need to be named index.html?
- No. PreviewShip packages pasted HTML as index.html automatically during deployment.
- Can pasted HTML include CSS and JavaScript?
- Yes. Inline CSS and JavaScript can be included in the pasted HTML. External resources must be reachable by the browser.