Putcode is the new home for your code snippets.

Save code snippets from ChatGPT, Claude, and other AI agents. Reuse it anywhere, embed it in your blog or guides, or share it with others.

Create a CSS Snippet

Write it in the browser

HTML, CSS and optional JavaScript next to a preview that updates as you type. Drafts stay private until you publish.

UntitledHTMLCSSJS
Preview updates as you typeTry the editor →

Use it from your agent

Connect ChatGPT, Claude, Cursor or another MCP client. Ask for a button or a card and your agent checks your snippets first, forks the closest match and saves the result to your account.

Claude

I need a loading spinner that respects reduced motion.

search_components({ query: "loader reduced motion" })
→ orbit-loader, skeleton-loader
fork_playground({ source_id: "orbit-loader" })
→ saved to your snippets

I forked Orbit loader into your snippets. With reduced motion turned on, it now turns once every 6 seconds.

Keep every version

Each save is a revision with a note on where it came from: you, an agent, or a fork. Open an old one and restore it.

Glow button · history
  1. r14Savedcurrent2 min ago
  2. r13Claude1 hour ago
  3. r12Savedyesterday
  4. r11Forked from Glow button3 days ago
Connect Putcode

Bring Putcode to your agent

Pick your agent to see how to connect it. One URL works everywhere: sign in once, and your agent can find, use and save your snippets.