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.
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.
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.
I need a loading spinner that respects reduced motion.
→ orbit-loader, skeleton-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.
- r14Savedcurrent2 min ago
- r13Claude1 hour ago
- r12Savedyesterday
- r11Forked from Glow button3 days ago
Some examples
See moreBring 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.