pocket 08 — </>
Dev pocket.
The developer pocket. Encoders, formatters and small web utilities for the person who pastes JSON at 1 a.m. and prays. Fast, tidy and allergic to slow Core Web Vitals.
what this pocket is for
Twenty-one tools for the things that break at the worst moment: JSON that will not parse, a JWT you need to read, a hash you need to compare, a regex that matches too much, a meta tag that Google rewrites.
Everything runs locally. That matters more here than it looks: people paste production tokens, customer data and private keys into tools like these. None of it leaves the tab, and the tools keep working with the network off.
The JWT decoder explains the three parts and why the payload is readable rather than encrypted; the JSON formatter points at the exact character that broke the file; and hash vs encryption is the distinction behind half the security questions in this pocket.
Base64 encoder / decoder
Encodes text to base64 and back, with full UTF-8 so accents and emojis survive. Plus a URL-safe mode for tokens and URLs that hate the equals sign.
base64 is not encryption — it's a jacket, not a safe.
Color contrast checker
Compare text and background colors with the WCAG contrast ratio, plus pass or fail for AA and AAA at normal and large sizes.
gray on gray is a design choice, and the choice is usually regret.
Color converter
One colour, three languages. Pick it, drag it or type it — HEX, RGB and HSL all stay in sync, with a swatch that shows exactly what you're getting.
hue 0° and 360° are the same red — colour wheels are surprisingly round.
Cron explainer
Paste a cron expression and read what it does in plain English, with the next five times it will run. Five fields, no guesswork.
`*/15 9-17 * * 1-5` is a sentence. it just looks like punctuation.
Cron schedule generator
Build a cron expression from five fields, read it back in English and see the next runs. Start from a preset or type each field yourself.
the schedule is the easy part. the time zone is the trap.
CSV to JSON converter
Turn a CSV table into a JSON array of objects, with comma, semicolon or tab delimiters and proper handling of quoted fields.
a comma inside quotes is a comma with a permission slip.
HTML entity encoder
Escape ampersands, angle brackets and quotes into HTML entities, or decode entities back into plain text, entirely in your browser.
entities are how HTML says a character without actually meaning it.
JSON formatter
Format, minify and validate JSON in your browser, with a line and column for every error and an optional sort that puts keys back in order.
JSON has no comments and no trailing commas. JavaScript has a lot to answer for.
JSON to CSV
Turn a JSON array into a CSV you can open in Excel or Sheets, with the right quoting and an optional BOM. The data never leaves your browser.
the format developers love talking to the format accountants love.
JWT decoder
Paste a JSON Web Token and read its header and payload as formatted JSON with claim timings — signature not verified, inspection only.
we read the envelope, not the seal. the seal is somebody else's job.
Meta tag generator
Generate title, description, Open Graph and Twitter card tags from one small form, with live character counts and a copy button.
meta tags are invisible to readers and decisive in group chats.
Regex tester
Test a regular expression against your own text and see every match, its position, the capture groups and a live replacement preview.
a regex is a cat — elegant, powerful, and it will knock something off the table.
Meta description length checker
Measures your meta description against the ~160 characters Google shows, with a live title and snippet preview.
the first 60 characters do the heavy lifting — put the answer there.
Slug generator
Turn any title into a clean URL slug: lowercase, accents stripped, punctuation and spaces collapsed into single hyphens.
a slug is a title that has finally learned to behave in public.
Text diff checker
Compare two blocks of text line by line and see exactly what was added, what was removed and what survived untouched.
two versions of the truth enter, one honest line count leaves.
Title tag length checker
Check your title tag and meta description length with a live Google SERP preview. See what gets cut before you publish.
the title is the first thing Google shortens and the last thing you rewrite.
Unix timestamp converter
Convert epoch seconds or milliseconds to local time and ISO 8601, and turn any date back into a timestamp — live in both directions.
time is a flat circle, and it started in 1970. someone had to pick a year.
URL encoder / decoder
Percent-encode text for a URL or decode escapes back into readable text, with component and whole-URL modes that update as you type.
percent signs are load-bearing. we treat them with respect and a little suspicion.
UTM link builder
Build a campaign link from a base URL and five UTM fields, keeping the query parameters you already had and encoding the rest properly.
a link without utm parameters is just a link with a dream.
XML formatter
Format, minify and validate XML in the browser. See the parser error when a document is malformed, and get a clean copy without uploading anything.
a namespace is not a decoration. it is the whole document.
YAML to JSON
Convert YAML to JSON and back, with the line and column of the error when it fails. Docker, Actions and Kubernetes configs never leave your browser.
the config file and the API speak different dialects.
quick answers
Is it safe to paste a token or an API key here?
Nothing is sent to a server: the page reads the text and processes it in the tab. Even so, a production secret should be rotated after you paste it anywhere, including here, as a matter of habit.
Why is my JSON invalid?
Six causes account for almost every case: trailing commas, single quotes, unquoted keys, comments, undefined and smart quotes from a word processor. The formatter shows the line and character.
Is a hash the same as encryption?
No. Encryption is reversible with a key; a hash is one-way by design. A website that offers to "decrypt" your password was not hashing it.