PasteDB Official VS Code Extension

Upload files or selected code to PasteDB directly from VS Code. Secure API key storage, dashboard, recent pastes, progress bar and more.

Install from Marketplace Open PasteDB

Features


⚡ One-click Upload

Upload current file or selected text.

🔐 Secure API Key

Stored in VS Code Secret Storage.

📋 Copy Link

Automatically copy paste URL.

📚 Recent Pastes

Quickly access previous uploads.

⏱ Expiration

Choose default expiry.

🎨 Dashboard

Configure all settings visually.

Install


ext install adityasorathiya.pastedb

Install from VS Code


🔎 Find it in the Extensions Marketplace

Open Visual Studio Code, click the Extensions tab (or press Ctrl + Shift + X), then simply search for "PasteDB". You'll find the official PasteDB extension published by Aditya Sorathiya. Click Install to start uploading code directly from VS Code.

View on Marketplace

🚀 Get Started in 5 Steps

Install Extension

Install PasteDB from the Visual Studio Marketplace or search for PasteDB inside VS Code.

Generate API Key

Create a free PasteDB account and generate an API key from your dashboard.

Open Dashboard

Open the PasteDB dashboard inside VS Code and paste your API key. Configure visibility, expiration and other settings.

Upload Code

Right-click any file or selected text and choose one of the PasteDB upload commands.

Share Link

Your paste is uploaded instantly. Copy the generated URL or open it directly in your browser.

Frequently Asked Questions


Yes. The extension is completely free to install and use.

Yes. You'll need a free PasteDB account to generate an API key for uploading pastes.

Log in to your PasteDB account and open the Dashboard then go to menu then Generate API Key to generate and manage your API keys.
OR Simply go to the My API Keys Page

Yes. The extension stores your API key using Visual Studio Code's Secret Storage instead of plain text.

Yes. Select any text, right-click and choose PasteDB: Upload Selected Text.

Yes. Open any file and choose PasteDB: Upload Current File.

The extension works with any text file. It automatically detects the current file's language and sends it for syntax highlighting.

Yes. You can choose Public or Private visibility from the PasteDB Dashboard inside VS Code.

Yes. Choose from multiple expiration options including 10 minutes, 1 hour, 1 day, 1 week, 30 days or Never.

Yes. Recent uploads appear in the PasteDB sidebar for quick access.

Yes. Enable Copy Link After Upload in the dashboard settings.

Check your internet connection, verify your API key, and make sure the PasteDB service is available.

You can contact the developer through the Contact page or the GitHub repository linked in the footer.