HTML

Share HTML code online.

Share HTML templates, component markup, or email HTML: syntax-highlighted and shareable without a CodePen account.

textdrop.sh/xk4mR2
1doctype html>2<html lang="en">3<head>4  <meta charset="utf-8" />5  <meta name="viewport" content="width=device-width, initial-scale=1" />6  <title>My Pagetitle>7  <link rel="stylesheet" href="/styles.css" />8head>9<body>10  <header class="site-header">11    <nav aria-label="Main navigation">12      <a href="/" class="logo">Branda>13      <ul role="list">14        <li><a href="/about">Abouta>li>15        <li><a href="/work">Worka>li>16        <li><a href="/contact" class="btn btn--primary">Contacta>li>17      ul>18    nav>19  header>2021  <main id="content">22    <slot />23  main>24body>25html>
Every paste includes

HTML syntax highlighting

Paste HTML code and get a shareable link with full syntax highlighting, server-side rendered with no JavaScript overhead.

Burn after read

Deleted on first open. Can't be viewed twice.

Password protection

Add a password for end-to-end encryption with no raw key stored.

Configurable expiry

Set pastes to expire after 1 hour, 1 day, 7 days, or up to 30 days. Gone when you say so.

No account needed

No sign-up, no email, no ads. Paste and share in seconds.

How it works
Plain Text
Markdown
Code
DB_HOST=db-01.prod.internal
DB_USER=api_svc
DB_PASS=xK9$mP2!qR7nLw2
REDIS_URL=redis://:abc@cache:6379
delete after setup — expires 1hr
7 days
Share
textdrop.sh/
7 days · plain text
Use cases
  • 01Share component template markup
  • 02Send email HTML for review
  • 03Share semantic structure for accessibility audits
  • 04Distribute HTML email snippets
  • 05Send template inheritance examples
FAQ
Does the HTML grammar highlight embedded CSS and JavaScript?+

Yes. The Shiki HTML grammar highlights inline <style> and <script> blocks with their respective language grammars.

Is there a size limit?+

Pastes up to 5 MB are supported.

Is my HTML encrypted?+

Yes. AES-256-GCM encryption runs in your browser before upload. Non-password pastes store the raw data key server-side for simple sharing and raw access; password-protected pastes keep the raw key out of the server.

Other languages
Drop your code