# ShowYourCode
> Paste HTML, render it instantly, and share a live link. No signup needed.
ShowYourCode is a paste-render-share tool: paste HTML, Markdown, SVG, or Mermaid, see it render live, and share a link. No account required to create or share.
## Core features
- **Create & share — no signup required**: Paste code into the Playground (`/playground`). A sandboxed iframe renders it live as you type (debounced), with desktop (100%), tablet (768px), and mobile (390px) viewport toggles, plus refresh and clear. Click Share to publish and receive a short `/share/{uuid}` link. Creating and sharing work fully for anonymous users.
- **Live share pages**: `/share/{uuid}` renders the work full-screen for anyone with the link — HTML natively, plus Markdown (markdown-it), SVG, and Mermaid diagrams (mermaid.js). The preview runs in a sandboxed iframe (opaque origin; no access to the parent page). Each visit increments the view count.
- **Forkable templates & curated topics**: Pick a starter at `/templates/{slug}` with full copyable source code and one-click fork into `/playground`, or explore themed community collections at `/topics/{slug}`.
- **Edit works & upload custom covers**: Sign in, then open `/playground?edit={uuid}` to revise a work you own (the share link never changes) or upload a custom thumbnail image from `/settings/works`.
## Vertical Tools
- [HTML Viewer](https://www.showyourcode.app/html-viewer): Inspect and run standalone HTML/CSS/JS files online in a sandboxed iframe
- [Host HTML](https://www.showyourcode.app/host-html): Publish a single HTML file as a permanent shareable live page
- [AI HTML Preview](https://www.showyourcode.app/ai-html-preview): Preview Claude Artifacts and ChatGPT Canvas HTML output directly
- [Markdown Preview](https://www.showyourcode.app/markdown-preview): Render Markdown documents cleanly with instant share links
- [SVG Viewer](https://www.showyourcode.app/svg-viewer): Inspect, preview, and share standalone SVG vector graphics
- [Mermaid Editor](https://www.showyourcode.app/mermaid-editor): Write and preview Mermaid flowcharts and sequence diagrams in the browser
## Gallery — browse & discover (/gallery)
Browse curated public community works:
- **Filter** by type: All · HTML · Markdown · SVG · Mermaid
- **Search** by title (debounced; Enter or the Search button commits immediately)
- **Sort** by **Latest** (newest first) or **Popular** (most viewed)
- Paginated (12 per page); each card shows cover thumbnail, type badge, view count, and opens the live share page
## Account (optional)
- Sign in with email/password, Google, or GitHub; Google One-Tap is available for quick sign-in.
- Email verification and password reset flows are supported when enabled.
- `/settings` dashboard tabs:
- **Overview** — your work count, total views, featured count, ticket count
- **My Works** — open / edit / set custom cover / delete works you own
- **Tickets** — support conversations with image attachments
- **Profile** — edit name, email, avatar
- Anonymous works are share-only and reachable only via their link; sign in to manage your own.
## Pages
- [Home](https://www.showyourcode.app/): Landing page with an embedded live Playground
- [Playground](https://www.showyourcode.app/playground): Paste HTML, preview live across viewports, and share a link
- [Gallery](https://www.showyourcode.app/gallery): Browse curated community code works
- [Templates](https://www.showyourcode.app/templates): Browse ready-to-fork single-file HTML, SVG, and Markdown templates
- [Topics](https://www.showyourcode.app/topics): Explore curated collections grouped by category
- [Blog](https://www.showyourcode.app/blog): Practical tutorials, architecture notes, and interactive guides
- [About](https://www.showyourcode.app/about): About ShowYourCode and our editorial curation standards
- [Contact](https://www.showyourcode.app/contact): Support and abuse-reporting contact information
- [Privacy Policy](https://www.showyourcode.app/privacy-policy): Data, cookie, and advertising disclosures
- [Terms of Service](https://www.showyourcode.app/terms-of-service): Terms governing published and hosted content
## Other
- Languages: English, 中文 (zh) — switchable from the header
- Light / dark theme toggle
- Submit a support ticket from the floating widget (sign-in required)
## Topics
- [Personal Homepage](https://www.showyourcode.app/topics/personal-homepage): Personal homepage demos
- [Teaching Tools](https://www.showyourcode.app/topics/teaching-tools): Educational tools and demos
- [Games](https://www.showyourcode.app/topics/games): Browser games and toys
- [Science](https://www.showyourcode.app/topics/science): Science and knowledge
- [Animation](https://www.showyourcode.app/topics/animation): CSS/3D animations and transitions
- [Data Visualization](https://www.showyourcode.app/topics/data-viz): Charts and data visualization
- [Landing Page](https://www.showyourcode.app/topics/landing-page): Product landing pages
- [Creative Art](https://www.showyourcode.app/topics/creative-art): Generative art and visuals
- [Utilities](https://www.showyourcode.app/topics/utilities): Calculators, clocks, converters, to-do apps
## Templates
- [Product launch hero](https://www.showyourcode.app/templates/product-launch-hero): A responsive product hero with a focused value proposition, proof points, and two clear actions.
- [Accessible signup form](https://www.showyourcode.app/templates/accessible-signup-form): A labeled signup form with helpful descriptions, visible focus, and a clear privacy promise.
- [Pricing comparison](https://www.showyourcode.app/templates/pricing-comparison): Three responsive pricing cards with a highlighted recommendation and scannable feature lists.
- [Analytics dashboard](https://www.showyourcode.app/templates/analytics-dashboard): A compact responsive dashboard with summary metrics, an accessible table, and a CSS-only chart.
- [Personal portfolio](https://www.showyourcode.app/templates/personal-portfolio): A calm one-page portfolio with selected work, an about statement, and direct contact links.
- [Event registration](https://www.showyourcode.app/templates/event-registration): An event landing page with schedule context, speaker details, and a concise registration form.
- [Documentation layout](https://www.showyourcode.app/templates/documentation-layout): A responsive documentation shell with section navigation, readable prose, and code examples.
- [Helpful empty state](https://www.showyourcode.app/templates/empty-state): An empty state that explains why the page is empty and gives one relevant next action.
- [Service status page](https://www.showyourcode.app/templates/status-page): A transparent status page with current state, component history, and an incident update.
- [Feedback survey](https://www.showyourcode.app/templates/feedback-survey): A concise research survey with grouped choices, an optional comment, and clear submission expectations.
- [Interactive study flashcards](https://www.showyourcode.app/templates/interactive-flashcards): A keyboard-friendly single-file flashcard deck with flip animations and progress tracking.
- [Pomodoro focus timer](https://www.showyourcode.app/templates/pomodoro-timer): A clean 25/5 focus timer with start, pause, reset, and mode switching in one HTML file.
- [Link-in-bio personal page](https://www.showyourcode.app/templates/link-in-bio): A mobile-first creator profile page with avatar, short bio, and high-contrast action links.
- [Developer resume (print-ready)](https://www.showyourcode.app/templates/developer-resume): A structured single-file HTML resume with clean print CSS for instant PDF export.
- [Launch countdown timer](https://www.showyourcode.app/templates/countdown-timer): A live countdown banner showing days, hours, minutes, and seconds to a target release.
- [Printable HTML invoice](https://www.showyourcode.app/templates/printable-invoice): A clean itemized invoice layout with subtotal, tax calculation, and print-ready styles.
- [HTML email signature](https://www.showyourcode.app/templates/email-signature): A table-based, inline-styled email signature built to survive Gmail, Outlook, and Apple Mail.
- [Interactive BMI calculator](https://www.showyourcode.app/templates/bmi-calculator): A responsive Body Mass Index calculator with instant range feedback and clear units.
- [Product roadmap timeline](https://www.showyourcode.app/templates/interactive-timeline): A vertical milestone timeline with clear status pills and responsive spacing.
- [Interactive multiple-choice quiz](https://www.showyourcode.app/templates/quiz-app): A self-contained HTML quiz with instant answer scoring and replay support for classrooms.
- [Accessible FAQ accordion](https://www.showyourcode.app/templates/faq-accordion): A native / FAQ accordion requiring zero JavaScript and supporting keyboard navigation.
- [Product changelog page](https://www.showyourcode.app/templates/changelog-page): A clean release notes feed with semantic version badges, dates, and grouped highlights.
- [Lightweight Kanban board](https://www.showyourcode.app/templates/kanban-board): A three-column interactive task board where clicking a card advances it to the next stage.
- [Instant unit converter](https://www.showyourcode.app/templates/unit-converter): A two-way length and temperature converter running in vanilla JavaScript.
## Blog Posts
### Build a Print-Ready Single-File HTML Resume With Clean CSS Print Rules
URL: https://www.showyourcode.app/blog/single-file-html-resume-print-css
Description: Create a lightweight HTML resume that works both as a live shareable link and exports cleanly to a crisp single-page PDF using @media print.
---
### How to Preview and Share Mermaid Diagrams Without Installing Anything
URL: https://www.showyourcode.app/blog/embed-mermaid-diagrams-html-guide
Description: Learn how to write clean Mermaid flowcharts and sequence diagrams, avoid common label syntax errors, and embed or share them as interactive web links.
---
### CodePen vs JSFiddle vs Tiiny.host vs ShowYourCode: Which Should You Use?
URL: https://www.showyourcode.app/blog/codepen-vs-jsfiddle-vs-showyourcode
Description: A practical comparison of CodePen, JSFiddle, Tiiny.host, and ShowYourCode for testing frontend snippets, hosting single HTML pages, and sharing AI-generated apps.
---
### How to Build Interactive Study Flashcards in a Single HTML File
URL: https://www.showyourcode.app/blog/build-interactive-flashcards-single-html
Description: Step-by-step guide to creating a keyboard-accessible, mobile-ready study flashcard deck with vanilla HTML, CSS, and JavaScript—ready to share with students.
---
### How to Host HTML Generated by Claude, ChatGPT, or DeepSeek in 10 Seconds
URL: https://www.showyourcode.app/blog/host-claude-chatgpt-html-artifacts
Description: Turn single-file HTML apps, calculators, flashcards, and dashboards generated by AI coding assistants into live shareable URLs without local setup.
---
### How to Share an HTML File as a Link for Free (5 Methods Compared)
URL: https://www.showyourcode.app/blog/share-html-file-as-link
Description: Compare five practical ways to turn a single HTML file into a shareable live link—from instant paste-and-share hosting to GitHub Pages and local tunnels.
---
### How a Sandboxed HTML Preview Protects the Host Page
URL: https://www.showyourcode.app/blog/sandboxed-html-preview
Description: A practical explanation of iframe sandboxing, opaque origins, srcdoc, and the boundaries a code playground must enforce.
---
### Build a Shareable HTML Prototype Without a Build Step
URL: https://www.showyourcode.app/blog/shareable-html-prototype
Description: Turn an interface idea into a focused single-file prototype that another person can open, test, and review.
---
### A Responsive Preview Checklist for Frontend Demos
URL: https://www.showyourcode.app/blog/responsive-preview-checklist
Description: Test a small frontend demo across widths without confusing viewport checks with complete device testing.
---
### Rendering User HTML Safely: Threats, Boundaries, and Moderation
URL: https://www.showyourcode.app/blog/safe-user-html
Description: A threat-model-driven guide to accepting HTML without turning a creative tool into a phishing or malware surface.
---
### How to Structure a Maintainable Single-File Frontend Demo
URL: https://www.showyourcode.app/blog/single-file-frontend-demo
Description: Organize HTML, CSS, state, and behavior so a one-file demo stays readable enough to review and reuse.
---
### Debug CSS Faster With a Minimal Reproduction
URL: https://www.showyourcode.app/blog/debug-css-with-minimal-reproduction
Description: Reduce a layout bug to the smallest faithful HTML and CSS case without deleting the condition that causes it.
---
### Make an Interactive Frontend Demo Keyboard and Screen-Reader Friendly
URL: https://www.showyourcode.app/blog/accessible-interactive-demo
Description: Add semantics, focus behavior, names, and state announcements before sharing an interactive prototype.
---
### Create a Shareable SVG Demo That Scales and Stays Accessible
URL: https://www.showyourcode.app/blog/svg-demo-guide
Description: Use viewBox, meaningful text alternatives, CSS variables, and restrained animation in standalone SVG examples.
---
### Write Mermaid Diagrams That Explain a System Instead of Decorating It
URL: https://www.showyourcode.app/blog/mermaid-diagram-guide
Description: Choose the right diagram type, control label density, and design a Mermaid example that survives review and change.
---
### Turn Markdown Into a Reviewable Technical Demo
URL: https://www.showyourcode.app/blog/markdown-demo-guide
Description: Structure a Markdown example so its rendered output, code blocks, links, and claims can be evaluated safely.
---
### Keep a Frontend Demo Fast Enough to Review
URL: https://www.showyourcode.app/blog/frontend-demo-performance
Description: Measure the preview itself, remove accidental cost, and distinguish prototype shortcuts from performance conclusions.
---
### What to Review Before You Publish a Code Demo
URL: https://www.showyourcode.app/blog/review-before-sharing-code
Description: A final editorial, security, accessibility, and privacy checklist for public frontend examples.
---