Encrypted code sharing with syntax highlighting for 20+ languages. Your code is encrypted in the browser before it ever reaches the server. The decryption key stays in the URL fragment — never stored, never logged.
Full syntax highlighting for 20+ languages including JavaScript, Python, Go, Rust, SQL, YAML, Bash, TypeScript, C++, and more.
Built on CodeMirror 6 with line numbers, a developer-friendly dark theme, and a comfortable reading experience for any code snippet.
Your code is encrypted in the browser using AES-256-GCM before being sent to the server. The server only ever stores ciphertext — it cannot read your code.
Set an expiry time so pastes auto-delete, or use burn-after-reading for one-time viewing. Once read, the paste is permanently destroyed.
| CloakBin | GitHub Gist | Pastebin | CodePen | |
|---|---|---|---|---|
| End-to-end encrypted | ||||
| Syntax highlighting | ||||
| Auto-delete / expiry | ||||
| No account required | ||||
| API access | ||||
| Custom URLs |
Share code containing API keys or credentials for review without exposing them permanently. Set an expiry so the paste disappears after the review is done.
Send environment configurations to teammates securely. No more pasting database URLs and API tokens into Slack where they persist in chat history forever.
Share pipeline configurations containing secrets, deployment keys, or service account credentials. Burn-after-reading ensures one-time access only.
Share sensitive logs during incidents with your team. Set auto-delete so the logs are cleaned up after the incident is resolved, reducing your exposure window.
$ # REST API for programmatic access
$ curl -X POST https://cloakbin.com/api/paste \
-H "X-API-Key: your-key" \
-d '{"content": "encrypted-data", "language": "python"}'
Use the REST API to integrate code sharing into your scripts and CI pipelines.
Premium users get custom URLs for memorable, branded links to shared snippets.
20+ languages. Zero-knowledge encryption. No sign-up required.
Share Code Now