Upload HTML/Markdown, paste HTML, deploy previews

Publish HTML Online, Upload HTML or Markdown Files and Get a Live URL

Turn generated HTML, Markdown documents, single HTML files, static frontend builds, and agent-created UI artifacts into public live URLs. Deploy from the console, VS Code, Cursor, CLI, or any AI coding agent via MCP.

PreviewShip hosts browser-ready static artifacts. It does not run npm install, build source-code zips, or turn raw React/Vue/Next projects into production builds.

Works withChatGPTClaude CodeCursorWindsurfVS CodeCLIMCP
Deploy preview
PreviewShip

Artifact to live URL.

Browser-ready output becomes a review link without Git setup.

Input

landing/index.html

Deploy

previewship deploy --json

Share

https://demo.previewship.cc

Run status
Validated artifact
Generated route
Synced edge
Ready to share
Formats
HTMLMD
Result

demo.preview...

Input
paste HTML, .html, .md, zip, or dist
Output
public HTTPS live URL
Agent path
MCP, CLI, or JSON output
Setup
no Git, no CI/CD, no build for single HTML/Markdown
Upload-first workflow

Upload HTML, publish Markdown, paste HTML, or ship a built static zip

Choose a browser-ready artifact, deploy it as a static preview, and share the returned URL. Single HTML and Markdown files work directly; framework source projects must be built first.

Drop a .html/.md file or build-output zip

PreviewShip publishes static artifacts. It does not build source code after upload.

Upload these

report.html, README.md, docs.markdown
dist, build, out, or public zip with index.html
Generated HTML pasted from ChatGPT, Claude, Cursor, or agents

Do not upload these

Raw source zips with package.json and src/
node_modules or dependency folders
React/Vue/Next source before running the build command
HTML, Markdown, or dist
Static deploy
Live URL

Built around the workflows users already try

AI HTML artifacts

Publish generated reports, prototypes, dashboards, and single-file pages from ChatGPT, Claude, Cursor, and coding agents.

Direct HTML and Markdown support

Upload .html, deploy Markdown notes, paste HTML, deploy ./page.html or ./README.md with CLI, or let MCP-enabled agents return the preview URL.

Static output only

Clear rules reduce failed deploys: single HTML/Markdown is direct; framework projects should be built before upload.

See It In Action

A sample conversation between a developer and an AI coding agent.

Agent handoffURL ready
Build me a landing page for my SaaS product with a hero section, features grid, and pricing table.
AI Agent
I'll build that for you right away. Write(landing/index.html) — 186 lines Write(landing/style.css) — 124 lines Write(landing/app.js) — 95 lines Your landing page is ready! Open landing/index.html to preview.
Looks great! Can you deploy it so I can share it with my team?
AI Agent

I'll deploy it to PreviewShip and get you a shareable link.

$ previewship deploy ./landing --json
It's live! Share this link with your team: https://my-saas.previewship.cc The link is publicly accessible — anyone can view it.

From idea to shareable URL — without leaving the conversation.

Everything you need for instant previews

Deploy generated HTML, Markdown documents, and frontend artifacts from anywhere — console, editor, terminal, or AI agent. No complex setup required.

Instant Previews

Upload your build and get a live preview URL in seconds. No CI/CD configuration needed.

AI HTML Ready

Publish generated HTML reports, Markdown notes, dashboards, landing pages, and prototypes as public preview links.

AI Agent Ready

Built for AI coding agents like Claude Code, Cursor, Windsurf, Codex, and OpenClaw. Deploy via MCP or CLI.

Codex Chat Sharing

Install the optional share-codex-chat skill to publish a Codex conversation as a high-fidelity PreviewShip link.

CLI Deploy

Deploy a build folder, single HTML file, or Markdown file from the terminal with one command. Perfect for scripts, CI pipelines, and AI agents.

MCP Native

First-class MCP server support. Any MCP-compatible agent can deploy previews as a tool call.

Manual Upload

Drag & drop a build-output zip, upload a single HTML/Markdown file, or paste HTML in the console. No plugins required — works from any browser.

Share Anywhere

Get a unique preview link to share with teammates, clients, or stakeholders instantly.

Built for AI Agents

Deploy previews directly from your AI coding agent. Two integration methods — choose what fits your workflow.

CLI
# Install (or use npx directly)
npm install -g previewship

# Set your API Key
previewship login

# Deploy
previewship deploy ./dist
previewship deploy ./report.html

# JSON output for agents
previewship deploy ./dist --json
previewship deploy ./report.html --json

CLI

One-command deploy from any terminal or AI agent. Structured JSON output for automation.

One-Call Deploy

Single command or tool call creates a live site.

Zero Config

No manifests or project files. Just point and deploy.

Structured Output

JSON responses for easy parsing by agents.

Global CDN

Sites served on a worldwide edge network.

Optional Codex skill

Share a Codex conversation when the work itself needs context.

For Codex users, share-codex-chat turns the visible chat transcript into a polished HTML page, deploys it through PreviewShip, and returns a public URL for debugging notes, implementation records, or review handoff.

Not required for normal deploysHigh-fidelity Codex transcriptUseful for review context
Read Codex skill docs
Install skill
npx skills add blockdancez/PreviewShip --skill share-codex-chat -a codex -g --yes
Use in Codex
$share-codex-chat 分享当前 Codex 对话
Preview hosting comparison

Faster than Git-based hosting when you only need a public preview URL

GitHub Pages, Vercel, Netlify, Surge, Tiiny Host, HTML Pub, and Aired all solve parts of static hosting. PreviewShip focuses on the narrow workflow AI builders keep repeating: generated HTML or build output in, shareable preview URL out.

WorkflowPreviewShipGeneral static hosts
Single HTML/MarkdownPaste HTML, upload .html/.md/.markdown, or deploy ./page.html and ./README.md from CLI/MCP/editor.Often requires a repo, file manager, subdomain setup, or a zip with index.html.
AI agentsMCP server, CLI, and structured JSON output are first-class paths.Usually optimized for human dashboards or Git push workflows.
Frontend buildsUpload ready-to-serve dist/build/out/public output or zip.Often tied to Git, build settings, or broader production hosting.
Review linksDesigned for temporary previews, design review, QA, and client approval.Usually broader website hosting, production deploys, or personal pages.

How It Works

Three simple steps to share your frontend preview.

01

Upload

Upload a built static artifact via the console, VS Code/Cursor extension, CLI, or MCP agent. Single HTML and Markdown files are supported directly.

02

Deploy

We deploy your project to a global CDN and generate a unique preview URL.

03

Share

Share the preview link with your team. They can view it instantly in any browser.

Editor Extensions

Deploy from VS Code or Cursor with a single command.

Cursor

Cursor is fully compatible with VS Code extensions. Same installation steps.

  1. 1

    Open Cursor, press Ctrl+P (Cmd+P on Mac), paste the command below and press Enter:

    ext install previewship.previewship
  2. 2

    Run "PreviewShip: Set API Key" from the command palette (Ctrl+Shift+P) and enter your API Key.

  3. 3

    Open your project folder, run "PreviewShip: Deploy Workspace, HTML, or Markdown File", or open a .html/.md file and run "PreviewShip: Deploy Active HTML or Markdown File" — get a preview link in seconds.

VS Code

Install from the VS Code Marketplace or use the command palette.

  1. 1

    Open VS Code, press Ctrl+P (Cmd+P on Mac), paste the command below and press Enter:

    ext install previewship.previewship
  2. 2

    Run "PreviewShip: Set API Key" from the command palette (Ctrl+Shift+P) and enter your API Key.

  3. 3

    Open your project folder, run "PreviewShip: Deploy Workspace, HTML, or Markdown File", or open a .html/.md file and run "PreviewShip: Deploy Active HTML or Markdown File" — get a preview link in seconds.

Don't have an API Key yet? Register for free, go to the API Keys page in the console to create one.

Download VSIX

For offline or manual installation in Cursor / VS Code

Simple, transparent pricing

Start free, upgrade when you need more. Launch discount is applied automatically at checkout.

Free

$0 forever
  • 1 project
  • 5 deploys / day
  • 15 MB max zip
  • 3 day preview expiry
  • PreviewShip watermark
Get Started
Most Popular

Pro Monthly

$9
$5.40 /mo
40% off auto-applied
  • 10 projects
  • 50 deploys / day
  • 50 MB max zip
  • 30 day preview expiry
  • No PreviewShip watermark
Subscribe

Pro Yearly

$84
$50.40 /yr ($4.20/mo)
40% off auto-applied
  • 20 projects
  • 80 deploys / day
  • 80 MB max zip
  • 365 day preview expiry
  • No PreviewShip watermark
Subscribe

Frequently Asked Questions

Common questions about PreviewShip.