Google Maps API Tester & Playground

Test and validate your Google Maps API key with interactive features

Maps JavaScript API
Places API
Geocoding API
API Testing

API Key Configuration

How to set up your API key:

  1. Go to Google Cloud Console
  2. Create a new project or select an existing one
  3. Enable the Maps JavaScript API, Places API, and Geocoding API
  4. Create credentials (API key)
  5. Important: In API key restrictions, add sanjaysikdar.dev to "Website restrictions" to allow usage from this domain
  6. Copy your API key and paste it above

Domain to whitelist:

sanjaysikdar.dev

Tested API Features

Maps JavaScript API

Core map rendering, markers, info windows, map types, and controls

Geocoding API

Convert addresses to coordinates and display them on the map

Markers & Info Windows

Interactive markers with custom info windows showing coordinates

Geolocation

Get and display current user location on the map

API Key Security

Always restrict your API keys in the Google Cloud Console. Add domain restrictions, API restrictions, and usage quotas to prevent unauthorized usage and unexpected charges. Never share your API keys publicly or commit them to version control.