Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Instant JSON PathNew to Visual Studio Code? Get it now.
Instant JSON Path

Instant JSON Path

Ankush Sood

|
23 installs
| (0) | Free
Quickly copy the JSON path of any key in your JSON files with one click.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

⚡ Instant JSON Path

Instant JSON Path is a lightweight VS Code extension that lets you instantly copy the JSON path of the key under your cursor — no need to manually trace nested structures again!


✨ Features

  • 🔍 Detects the JSON key at your current cursor position.
  • 📋 Copies the full JSON path (e.g., user.profile.name) instantly to your clipboard.
  • 🧠 Works seamlessly with both .json and .jsonc files.
  • 🚫 Handles invalid cursor positions gracefully with helpful messages.
  • 💬 Displays notifications for success, warnings, or errors.

⚡️ How It Works

  1. Open any JSON or JSONC file in VS Code.
  2. Move your cursor onto a key (e.g., "name").
  3. Right-click on the key and select "Copy JSON Path" from the context menu.
  4. ✅ The full JSON path (e.g., user.profile.name) is instantly copied to your clipboard!
  5. You’ll see a notification confirming the copied path.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft