---
schema_version: "1"
id: a1d43f2991412b8ad4dd58d478a4cb4db5f7f40c9be8d0fa2eb7b3b1e4c86083
title: Lightning Locker API Viewer Overview
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/lwc/lightning-components-security/guides/locker/locker-api-viewer.md
canonical_url: https://developer.salesforce.com/docs/platform/lightning-components-security/guide/locker-api-viewer.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 0f84b05522b3d4cb76cffcb59eecea7b08c8bd54a586a25edccbd441144d7b5e
products:
  - Security for Lightning Components
  - lwc
---
# Lightning Locker API Viewer Overview

Locker API Viewer shows Lightning Locker’s support of the standard DOM APIs in the `Window`, `Document`, and `Element` objects. The `SecureWindow`, `SecureDocument`, and `SecureElement` wrappers prevent use of APIs that are labeled **Not Supported**.

[Locker API Viewer](https://developer.salesforce.com/tools/locker-service-viewer) is available in the Tools area of the [DX Developer Center](https://developer.salesforce.com/developer-centers/developer-experience) and the [LWC Developer Center](https://developer.salesforce.com/developer-centers/lightning-web-components).

![Lightning Locker API Viewer UI with list of APIs supported by SecureDocument.](https://developer.salesforce.com/media/locker_api_viewer_guide.png '{"class": "image-framed", "title": "Lightning Locker API Viewer"}')

Locker API Viewer lets you quickly see which standard DOM APIs are supported by Lightning Locker.

There are several ways to validate your code to ensure compatibility with Aura component APIs. For more information, see [Validations for Aura Component Code](https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/validation.htm).

Use the [Locker Console](https://developer.salesforce.com/tools/locker-service-console) tool to check JavaScript code’s compatibility with Lightning Locker.

**See Also**

- [Secure Wrappers](https://developer.salesforce.com/docs/platform/lightning-components-security/guide/locker-global-access.md)
- [Locker Console Overview](https://developer.salesforce.com/docs/platform/lightning-components-security/guide/locker-console.md)
