# Lightning Locker Tools

Lightning Locker tools help you develop secure code that is compatible and runs efficiently with Lightning Locker. Access these tools 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

Use the [Lightning Locker API Viewer](https://developer.salesforce.com/tools/locker-service-viewer) to see which standard DOM APIs are supported by Lightning Locker for the most complex wrappers: `SecureDocument`, `SecureElement`, and `SecureWindow`.

![Locker API Viewer UI with list of APIs supported by SecureDocument.](https://a.sfdcstatic.com/developer-website/sfdocs/lwc/media/locker_api_viewer_guide.png)

For more information about using this tool, see [Lightning Locker API Viewer Overview](/docs/platform/lightning-components-security/guide/locker-api-viewer.md).

## Locker Console

Use [Locker Console](https://developer.salesforce.com/tools/locker-service-console) to check your JavaScript code’s compatibility with Lightning Locker, and compare how it runs with Lightning Locker enabled and disabled.

Evaluate JavaScript code for issues or benchmark code without creating an app.

![Locker Console UI.](https://a.sfdcstatic.com/developer-website/sfdocs/lwc/media/locker_console_guide.png)

To evaluate or benchmark your JavaScript code, paste or type it into the console (1). Enable or disable Locker and Strict CSP (2). To run the code that’s displayed in the console, click **Evaluate** (3). To run code with and without Locker and view relative performance metrics, click **Benchmark**. To clear the displayed results, click **Clear Results**.

For more information about using Locker Console, see [Evaluate JavaScript Code Compatibility with Lightning Locker](/docs/platform/lightning-components-security/guide/locker-console-evaluate.md) and [Benchmark Lightning Locker Effect on JavaScript Code](/docs/platform/lightning-components-security/guide/locker-console-benchmark.md).
