For the snippet you need to send now
Share code online.
Keep it readable.
Send a teammate a query, move a command to another computer, or share a small example while debugging. PasteRelay gives you a shared clipboard link, syntax highlighting, and a copy button that preserves the original text.
Create a clipboard for your code →From snippet to shared link
- Select Create my clipboard. Adjust expiration in Settings if needed.
- Paste your code and choose a language in Format. Select Post to Room.
- Copy the room link and send it to your recipient. They can read and copy your snippet in their browser.
Pick the language, keep the original
Choose JavaScript, TypeScript, Python, JSON, Bash, PowerShell, HTML, CSS, SQL, YAML, Markdown, or plain text. Auto-detection is a convenience and can guess incorrectly. The recipient can override highlighting and wrap long lines without editing the stored snippet.
const message = "See you on the other screen.";
console.log(message);Example JavaScript. Highlighting changes the display; Copy uses the original text.
A clipboard, not a code runner
PasteRelay does not execute snippets, host a repository, or provide version control. Anyone with an unprotected room link can access and change room content. Rooms are excluded from the public sitemap and declare noindex; that does not make a link an access-control boundary.
Remove credentials and personal data from debugging examples. For a private text message with a view limit, use Quick Secrets. A recipient can still save what they read.