# Why it is safe to paste a real secret here.

> Why it is safe to paste a real token or signing key into these tools: SubtleCrypto, Web Workers with a timeout, and exactly what never leaves the tab.

Canonical: https://stayslocal.app/how-it-works/dev
Last updated: 2026-08-16

Developer tools are where secrets get pasted — an access token into a JWT decoder, a webhook signing key into an HMAC generator. Here is exactly what happens to them, mechanism by mechanism, so that claim is checkable rather than a promise.

## What runs where

JSON is parsed by the browser's own built-in parser. Hashes and HMAC signatures come from WebCrypto's SubtleCrypto, the same cryptographic primitive every browser ships for its own use. Random UUIDs come from crypto.getRandomValues, a cryptographically secure source, not Math.random. Files given to the checksum tool are read from disk with the File API rather than uploaded anywhere to be hashed.

None of that needs a server, so none of it has one: every developer tool computes its result inside the tab you already have open, using APIs the browser already exposes to any page.

## The regex tester's safety net

A regular expression can pathologically backtrack — a pattern that looks innocent can take exponentially longer to fail on a crafted input, long enough to freeze a tab. The regex tester runs every pattern inside a Web Worker with a timeout, so a catastrophic pattern is reported as such rather than hanging the page you are working in.

## Pasting a real credential, honestly

"Never leaves the tab" is a statement about transmission, not about the token's own validity — a JWT or signing key you paste here is still a live credential for as long as it has not expired or been rotated, exactly as it would be anywhere else you looked at it.

- Prefer an expired token or a test key where you have the choice, so a mistake costs nothing.
- Rotate anything you have previously pasted into a tool whose behaviour you have not personally checked — that advice applies here too, not as an exception.
- You can verify the no-transmission claim in ten seconds: open your network inspector, run any tool, and watch that no request contains what you typed.

## Try it: Developer Tools

- [JSON Formatter](https://stayslocal.app/dev/json-formatter): Format, validate and minify JSON
- [JSON ↔ CSV](https://stayslocal.app/dev/json-to-csv-converter): Convert JSON to CSV and back
- [JSON ↔ YAML](https://stayslocal.app/dev/json-to-yaml-converter): Convert JSON to YAML and back
- [Base64 Encoder & Decoder](https://stayslocal.app/dev/base64-encoder-decoder): Encode and decode base64 text
- [URL Encode](https://stayslocal.app/dev/url-encoder-decoder): Percent-encode and decode URLs
- [JWT Decoder](https://stayslocal.app/dev/jwt-decoder): Decode a JSON Web Token's claims
- [UUID Generator](https://stayslocal.app/dev/uuid-generator): Generate UUID v4 and v7
- [Password Generator](https://stayslocal.app/dev/password-generator): Random passwords and EFF passphrases
- [SHA Hash](https://stayslocal.app/dev/sha256-hash-generator): SHA-256, SHA-384 and SHA-512 of text
- [File Checksum](https://stayslocal.app/dev/file-checksum-calculator): Verify a download against its published hash
- [HMAC Generator](https://stayslocal.app/dev/hmac-generator): Sign and verify with HMAC-SHA
- [Regex Tester](https://stayslocal.app/dev/regex-tester): Test a regular expression safely
- [Timestamp Converter](https://stayslocal.app/dev/unix-timestamp-converter): Unix epoch to a human date, and back
- [Text Diff](https://stayslocal.app/dev/text-diff-checker): Compare two texts line by line

## Other families

- [How QR works](https://stayslocal.app/how-it-works/qr)
- [How Image works](https://stayslocal.app/how-it-works/image)
- [How PDF works](https://stayslocal.app/how-it-works/pdf)
- [How Note works](https://stayslocal.app/how-it-works/note)
