A modern REST API client for Visual Studio Code. Test, debug, and manage your APIs with a beautiful, intuitive interface.
Test your APIs with all standard HTTP methods including GET, POST, PUT, PATCH, DELETE, HEAD, and OPTIONS.
Create folders to organize your API requests. Keep your workspace clean and structured with unlimited collections.
Set base URLs and default headers at the folder level. All requests within a folder automatically inherit these settings, reducing repetitive configuration.
Clean, intuitive interface for crafting requests with editable names, organized tabs, and easy-to-use editors.
Support for all common content types:
- JSON (with syntax highlighting)
- XML
- Form URL Encoded
- Multipart Form Data
- Plain Text
- HTML
Easily upload files using multipart form data with built-in file picker.
Intelligent autocomplete for common HTTP headers makes request configuration faster and error-free.
View formatted responses with:
- Syntax-highlighted JSON/XML
- Response headers display
- Status code indicators
- Response time tracking
- Response size metrics
Export/Import your existing collections from:
- REST Lab native format
- Postman (v2.1 format)
- Thunder Client
Share your API collections with team members or backup your work.
Generate cURL commands from any request with a single click. Perfect for sharing API calls or debugging in terminal.
Reorder your requests and folders with intuitive drag-and-drop functionality.
All your requests, folders, and configurations are automatically saved and persist across VS Code sessions.
- Copy response data to clipboard
- Download response as file
- Beautify JSON/XML responses
- View raw response data
- Open VS Code
- Go to Extensions (Ctrl+Shift+X / Cmd+Shift+X)
- Search for "REST Lab"
- Click Install
- Open REST Lab: Click the REST Lab icon in the Activity Bar (left sidebar)
- Create a Folder: Click the folder icon (📁) to create your first collection
- Configure Folder (Optional): Click the ⚙️ icon to set base URL and default headers
- Add Request: Click the ➕ icon to create a new request
- Send Request: Configure your request and click the Send button!
- Organize by Project: Create separate folders for different APIs or projects
- Use Base URLs: Set base URLs at the folder level to avoid repetition
- Default Headers: Configure common headers (like Authorization) at folder level
- Quick Testing: Press Send button or use keyboard shortcuts for faster testing
- Import Existing: Migrate from Postman or Thunder Client using the import feature
- Visual Studio Code 1.85.0 or later
Contributions are welcome! Feel free to submit issues and pull requests.
This project is licensed under the MIT License - see the LICENSE.md file for details.
Enjoy testing your APIs with REST Lab! 🧪
Made with ❤️ for the VS Code community








