Everything you need to know about publishing with PastePage.
PastePage is the fastest way to publish HTML to the web. Paste your code, hit publish, and get a live URL instantly. No build tools, no hosting setup, no deployment pipeline.
It's designed for AI-generated HTML. Ask ChatGPT, Claude, or any AI to build you a landing page, portfolio, or tool — then paste the output into PastePage and publish it in seconds.
Every page gets a permanent URL at username.pastepage.co/slug. You can also connect your own custom domain.
Sign up with your email and password. You'll be redirected to start your free 14-day trial.
After setup, you'll choose a username — this becomes your subdomain (e.g. yourname.pastepage.co). Once that's set, you're ready to publish.
The editor auto-generates a random slug (like swift-compass). You can change it before or after publishing.
The left side of the editor is a full code editor with HTML syntax highlighting, line numbers, and bracket matching.
Paste a complete HTML document — everything from <!DOCTYPE html> to the closing </html>. PastePage publishes your HTML exactly as written.
The right side shows a live preview of your page in an iframe. It updates as you edit, so you can see changes in real time.
The preview also captures JavaScript errors and warnings — check the console panel at the bottom of the editor if something isn't working.
Click the Publish button to make your page live. If it's a new page, it creates a fresh URL. If you're editing an existing page, it updates the content at the same URL.
After publishing, the page is immediately available at your URL. Caches are automatically purged so visitors always see the latest version.
The slug is the URL path for your page — the part after the / in username.pastepage.co/my-page.
Slugs must be lowercase, alphanumeric with hyphens only, and up to 60 characters. You can rename a page's slug at any time — the old URL will return a 404 and the new URL will be live immediately.
Tip: If you create a page with the slug home, it will be served when someone visits your root domain (e.g. username.pastepage.co or www.yourdomain.com).
The editor includes a built-in prompt builder that helps you create prompts for AI assistants. Click the Prompt tab in the editor to access it.
The prompt builder automatically includes:
Write what you want in the text field, select any images to include, then click Copy Prompt. Paste it into any AI assistant (ChatGPT, Claude, Gemini, etc.) to get a complete HTML page back.
The prompt builder includes a link to the docs so the AI can reference PastePage's guidelines if needed.
Every page should be a complete HTML document:
<!DOCTYPE html>, <html>, <head>, <body><title> and <meta name="description">og:title, og:description)<link> in the headUse vanilla JS/CSS, or any framework or library via CDN — no build step needed:
cdn.tailwindcss.comEverything must be in a single HTML file. All packages must be loaded via CDN — never use bare imports like import React from 'react'.
For contact forms, use embed services like Formsubmit or Tally — just set the form's action URL to their endpoint.
For payments, use Stripe Payment Links — create a link in your Stripe dashboard and add it as a button in your HTML.
Never include API keys, secrets, or credentials in your HTML — it's publicly visible.
Upload images from the Images tab in the editor or from the Images section on your dashboard. Images are automatically converted to WebP for optimal file size and quality.
Each image gets a permanent URL that you can use in your HTML.
Storage limit is 1GB total per account, with a maximum of 10MB per file.
You can add a short label to each image (up to 40 characters). Labels help you identify images later — especially useful when AI tools list your images via MCP.
Labels are editable inline — click the label text below any image thumbnail, type a description, and press Enter or click away to save.
When you upload an image, the original filename is used as the default label. You can change it at any time.
Copy the URL from the images panel (click the copy icon next to any image) and use it in an <img> tag in your HTML.
Images are served globally and cached aggressively — they load fast everywhere.
Go to Settings → Custom Domain. Enter your domain as www.yourdomain.com — the www. prefix is required.
After connecting, you'll see DNS records to add at your domain registrar.
After connecting your domain, the Settings page will show the exact DNS records you need to add. You'll need to add two records at your domain registrar (GoDaddy, Namecheap, Cloudflare, etc.):
www@ (root domain)DNS changes can take up to 48 hours to propagate, though most take only a few minutes. Use the "Check status" button in Settings to verify.
SSL certificates are provisioned automatically once your CNAME record is verified. You don't need to do anything — your site will be served over HTTPS within minutes of DNS validation.
The CNAME record is required — it connects www.yourdomain.com to PastePage. The A record is also recommended — it redirects yourdomain.com (without www) to www.yourdomain.com so visitors can reach your site either way.
MCP (Model Context Protocol) lets AI assistants like Claude interact with PastePage directly. Instead of copying and pasting HTML, you can tell your AI to "publish this to PastePage" and it happens automatically.
PastePage's MCP server URL:
https://mcp.pastepage.com/mcpOn claude.ai (Pro or Max plan):
https://mcp.pastepage.com/mcpClaude will open a browser window for you to sign in to your PastePage account. After authorizing, Claude can create, edit, and manage your pages directly.
You can manage connected AI apps in Settings → AI Connections.
Once connected, your AI has access to these tools:
| Tool | Description |
|---|---|
| list_pages | List your published pages (paginated) |
| get_page | Read the HTML of a page |
| create_page | Publish a new page |
| update_page | Replace a page's HTML entirely |
| patch_page | Make targeted edits (find & replace) |
| check_errors | Check a page for JavaScript errors |
| upload_image | Upload an image from a URL |
| list_images | List your uploaded images (paginated) |
You can password-protect any page from the editor. Click the lock icon next to the slug field and enter a password. The password is saved when you publish.
To change or remove a password, click the lock icon again. Leave the field empty to remove protection.
You can view and manage page passwords from your dashboard — look for the lock icon on protected pages.
When someone visits a password-protected page, they see a clean password prompt. After entering the correct password, they get access for that browser session — they won't need to re-enter it on refresh.
The password session is scoped to the specific page. Access to one protected page doesn't grant access to another.
PastePage has one simple plan that includes everything — up to 1,000 pages, 1GB of image storage, custom domains, AI integration, and password protection. New accounts start with a 14-day free trial — no charge until the trial ends. See the homepage for current pricing.
You can manage your subscription, update your payment method, and view invoices from Settings → Billing → "Manage billing."
You can cancel anytime from the Stripe billing portal (Settings → Billing → Manage billing). Your pages stay live until the end of your current billing period.
After your subscription ends, your account enters an archived state:
If you resubscribe within 30 days of cancellation, everything is restored instantly — your pages go live again, your custom domain works, and it's like you never left.
| Resource | Limit |
|---|---|
| Pages per account | 1,000 |
| Page size | 25 MB |
| Image storage | 1 GB total |
| Image file size | 10 MB per file |
| Slug length | 60 characters |
| Image label length | 40 characters |
| Page views | Unlimited |
| Bandwidth | Unlimited |
Go to Settings → Change Password. Enter your current password and your new password (minimum 8 characters).
If you've forgotten your password, use the forgot password page to reset it via email.
For any questions or issues, contact support@pastepage.com.