Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>PasteDBNew to Visual Studio Code? Get it now.
PasteDB

PasteDB

Aditya Sorathiya

|
2 installs
| (0) | Free
Upload code snippets instantly
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

PasteDB

Instantly upload code snippets from Visual Studio Code to PasteDB without leaving your editor.

PasteDB lets you share code, save snippets, and create private or public pastes in seconds.


Features

  • 🚀 Upload the current file
  • ✂️ Upload only the selected text
  • 🔒 Secure API key storage using VS Code Secret Storage
  • 🌍 Public and Private visibility
  • ⏳ Configurable expiration time
  • 📋 Automatically copy the paste URL
  • 🔗 Open the paste in your browser after upload
  • 📂 Recent Pastes sidebar
  • ⚡ Built-in upload progress indicator
  • 🎛️ Simple dashboard for managing settings

Getting Started

  1. Install the extension

Install PasteDB from the VS Code Marketplace.

  1. Open the Dashboard

Open the Command Palette ("Ctrl+Shift+P") and run:

PasteDB: Open Dashboard

or click the PasteDB icon in the Activity Bar.

  1. Enter your API Key

Paste your PasteDB API key into the dashboard and click Save Settings.

Your API key is stored securely using VS Code Secret Storage.


Uploading Code

  1. Upload Current File

Open a file and run:

PasteDB: Upload Current File

  1. Upload Selected Text

Select some code, then run:

PasteDB: Upload Selected Text


Dashboard

The dashboard lets you configure:

  • API Key
  • Default Visibility
  • Default Expiration
  • Copy URL after upload
  • Open paste after upload

Recent Pastes

The Activity Bar contains a Recent Pastes list.

You can:

  • Open a paste
  • Copy its URL
  • Remove it from history

Privacy

Your API key is never stored inside your project.

It is securely stored using VS Code Secret Storage.


Requirements

A free PasteDB account and API key are required.


Planned Features

  • Guest uploads (no API key)
  • Update existing pastes
  • Search recent pastes
  • Upload images
  • More customization options

Feedback

Found a bug or have an idea?

Your feedback helps improve PasteDB.


Release Notes

0.1.0

Initial public release.

Features include:

  • Upload current file
  • Upload selected text
  • Dashboard
  • API key management
  • Visibility settings
  • Expiration settings
  • Upload progress
  • Recent paste history
  • Copy/Open URL options

Made with ❤️ for developers who want to share code quickly by Aditya Sorathiya.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft