DEV Community

WuXin
WuXin

Posted on

Stop emailing yourself code snippets (We built a better way)

Let me know if this sounds familiar:

You find a perfect stack overflow answer on your phone while commuting. Or you have a 30-line JSON payload on your laptop that you desperately need to test on your mobile device.

How do you get the code from Device A to Device B?

If you are like most developers, you probably do one of these:

  1. Email it to yourself (and mess up the formatting).
  2. Send it to yourself on WhatsApp/Slack (and ruin the indentation).
  3. Paste it into a random online pastebin (and worry about who is logging your data).

As a team of 2nd-year CS undergrads, we were doing this constantly. It was annoying, slow, and terrible for privacy. So, we decided to build a better solution.

Enter: The 100% Client-Side Online Clipboard

We built SnipToolkit's Online Clipboard.

It is a completely free, ad-free utility designed specifically for developers who need to move text, code snippets, or JSON between devices instantly.

Why we built it differently:

Most "online clipboards" rely on heavy backend databases. When you paste your code, it gets saved to a server somewhere. If you are pasting sensitive API keys or proprietary code, that is a massive security risk.

We wanted something safer. Here is what makes our approach different:

  • 100% Client-Side: The tool runs entirely in your browser. We have zero backend databases. We do not (and technically cannot) log or read your snippets.
  • Instant Tab Sync: If you have multiple tabs open on the same device, we use the BroadcastChannel API to instantly sync your clipboard across all tabs in real-time. No refresh needed.
  • Mobile-to-Desktop: You can generate a unique 6-digit room code to grab your snippet on your phone instantly.
  • Code Formatting built-in: It preserves your spaces, tabs, and syntax formatting perfectly.

The Tech Stack

Because we are students obsessed with performance, we built the entire SnipToolkit suite using Astro and deployed it on the Cloudflare Edge network.

The result? The site has a 100/100 Lighthouse performance score and loads almost instantly anywhere in the world.

Try it out!

If you ever find yourself needing to quickly transfer a code block, give it a try:
👉 Try the Online Clipboard here

This is just one of several developer tools we are building for the suite (we also have a JSON formatter, Base64 encoder, and UUID generator).

We would absolutely love to hear your feedback in the comments! Are there any features you wish your current clipboard had? Let us know!


Top comments (0)