Upload, update, and manage your PasteDB pastes directly from VS Code. Get a fast developer-focused workflow with secure API key storage, custom expiration, recent paste history, and more.
Install from Marketplace Open PasteDBUpload current file or selected text.
Stored in VS Code Secret Storage.
Automatically copy paste URL.
Access previous uploads quickly and update existing pastes directly from the PasteDB sidebar.
Choose default expiry.
Configure all settings visually.
Edit an existing PasteDB paste directly from VS Code, then update its content and metadata without creating a new paste.
Install the official PasteDB extension directly from the Visual Studio Code Marketplace.
ext install adityasorathiya.pastedb
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 MarketplaceInstall PasteDB from the Visual Studio Marketplace or search for PasteDB inside VS Code.
Create a free PasteDB account and generate an API key from your dashboard.
Open the PasteDB dashboard inside VS Code and paste your API key. Configure visibility, expiration and other settings.
Right-click any file or selected text and choose one of the PasteDB upload commands.
Your paste is uploaded instantly. Copy the generated URL or open it directly in your browser.
Open the PasteDB sidebar in VS Code and choose the paste you want to update.
Right-click the paste and choose Update Paste. PasteDB opens the existing content in a new editor.
Modify the code directly in the new VS Code editor. Your existing paste content is loaded automatically.
When you're ready, press Ctrl + Shift + U to start the update process.
Configure the paste title, visibility, expiration and other metadata from the update panel.
Click Update and your existing PasteDB paste is updated without creating a new paste.
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.
No. You cannot make Private pastes from the PasteDB VS Code extension as private pastes are encrypted and for now i am making it simple as possible, I will plan of making encrypted pastes also.
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.
Yes. Open a recent paste from the PasteDB sidebar, right-click it, and choose Update Paste.
After selecting Update Paste, the existing paste content opens in a new VS Code editor. Edit the code and press Ctrl + Shift + U to continue.
Yes. After editing the content, you can update metadata such as the title, and expiration before confirming the update.