Guides

Developer Guides

Short, practical explanations that go with the DevToolEra tools: what the problem is, how to fix it, and what a tool can and cannot tell you.

Guide

MD5 vs SHA-256 vs SHA-3 vs BLAKE2: Which Hash to Use

MD5 vs SHA-256 compared with SHA-1, SHA-3 and BLAKE2: which are broken, which are safe, and how to verify a file checksum in your browser.

Guide

UUID v4 vs v7 vs ULID vs KSUID: Which ID to Use

UUID v4 vs v7 vs ULID, KSUID and NanoID: database index impact, privacy and sorting, and when to pick each. Generate them in your browser.

Guide

Invalid TOML? Fix pyproject.toml & Cargo.toml Errors

Invalid TOML? Validate TOML online and fix common syntax errors in pyproject.toml and Cargo.toml, with the exact line and column.

Guide

YAML Errors: Fix 'Mapping Values Are Not Allowed Here'

Fix YAML errors like 'mapping values are not allowed here', tab indentation, duplicate keys and the Norway problem. Validate YAML 1.2 in your browser.

Guide

Hidden Unicode Characters: How to Detect and Remove Them

Find hidden Unicode characters: zero-width, bidi and tag characters in code, prompts and text. Learn Trojan Source and ASCII smuggling.

Guide

ReDoS Explained: Find Catastrophic Backtracking in Regex

What ReDoS is, why patterns like (a+)+$ freeze apps, how to spot catastrophic backtracking and rewrite your regex. Test safely in your browser.

Guide

Is This Shell Command Safe? How to Check Before Running

Is this shell command safe? Read curl | bash, rm -rf, chmod 777 and dd before you run them. Explain any command in your browser.

Guide

How to Decode a PEM Certificate (X.509) Step by Step

How to decode a PEM certificate (CRT, DER): read subject, SAN, expiry and fingerprints, and what 'parsed vs verified' means. Runs in your browser.

Guide

GraphQL Schema Inspector: Validate and Explore SDL Files

Validate a GraphQL schema (SDL), find errors by line, explore types and fields, and export docs. Learn SDL vs introspection. Runs locally in your browser.

Guide

Decode a JWT: Read Claims and Verify the Signature

Decode a JWT to read its header, claims and expiry, then learn why decoding is not verifying and how to check the signature and common claim mistakes.

Guide

Cron Expression Explained: Syntax, Examples, Mistakes

Read any cron expression in plain English: the five fields, steps and ranges, the day-of-month trap, time zones, and examples like every 15 minutes.

Guide

Fix Invalid JSON from ChatGPT and Other LLMs

Fix invalid JSON from ChatGPT and other LLMs: which repairs are safe, which are guesses, and how to extract and validate model output.

Guide

Unix Timestamp: Seconds vs Milliseconds Explained

Unix timestamp seconds vs milliseconds: the digit-count trick, why dates land in 1970, the 2038 problem and how to convert safely.

Guide

CIDR Notation and Subnet Masks: A Practical Cheat Sheet

Understand CIDR notation, subnet masks and usable hosts: a cheat sheet from /8 to /32, private ranges, splitting and summarizing blocks, plus IPv6 basics.

Guide

Leaked API Key or Secret? What to Do Right Now

Leaked API key? Rotate first, then clean up. How to scan text for secrets and share redacted code safely after a token is exposed.

Guide

AI Hallucinated Packages: Check Names Before You Install

AI hallucinated packages can be registered by attackers (slopsquatting). Learn how to check npm and PyPI names before you install.

Guide

HTTP Security Headers: CSP, HSTS and a Safe Rollout

What each HTTP security header does and what it can break: CSP, HSTS, frame-ancestors, Referrer-Policy and more, with a safe rollout plan and a checklist.

Guide

JSON Syntax Error: Fix 'Unexpected Token' and Invalid JSON

Fix invalid JSON fast: the eight mistakes behind most 'Unexpected token' errors, with the message, cause and fix for each, and how to validate.

Guide

Base64 Is Not Encryption: How It Works and Why

Base64 is not encryption: what it really does, why anyone can decode it, how URL-safe Base64 differs and how to fix 'not valid Base64'.

Guide

URL Encoding: encodeURIComponent vs encodeURI, %20 vs +

URL encoding explained: encodeURIComponent vs encodeURI, whether a space is %20 or +, and how to spot double encoding like %2520.

Guide

WCAG Color Contrast: AA vs AAA Ratios With Examples

WCAG contrast ratios explained: 4.5:1 for text, 3:1 for large text and UI, what AAA adds, real grey-on-white examples and a checker's limits.

Guide

Remove EXIF and GPS Data From Photos Before You Share

Remove EXIF data from a photo before you share it: see what GPS, camera and timestamp tags it holds and clean it without quality loss.

Guide

HTTP Status Codes: 401 vs 403, 301 vs 302, 502 vs 504

HTTP status codes people confuse: 401 vs 403, 301 vs 302 vs 308, 400 vs 422 and 502 vs 503 vs 504, with which one your API or page should return.

Guide

Strong Random Passwords: Length, Entropy and Real Numbers

How strong is a password? Length beats complexity: entropy in bits for real settings, random password vs passphrase, and how to generate one safely.

Guide

OpenAPI Validation Errors: Path Parameters and $ref

OpenAPI validation errors fixed: path parameters without required: true, unresolved $ref and required properties that are not defined.

Guide

JSONPath Cheat Sheet: Query JSON With RFC 9535

JSONPath cheat sheet with working examples: recursive descent, filters, negative indexes and functions, tested on the RFC 9535 bookstore sample.

Guide

Compare Two JSON Files: Find Differences and JSON Patch

Compare two JSON files by value, not by text. Ignore key order, see exact paths of every change and generate an RFC 6902 JSON Patch.

Guide

How to Optimize SVG Safely: Smaller Files, Same Image

Optimize SVG files safely: what an SVG optimizer removes, what it leaves alone, a real 31% saving and why previews never run scripts.

Guide

QR Code Error Correction, Size and Capacity Explained

QR code error correction explained: levels L, M, Q and H, capacity by version, the quiet zone and the print size that scans reliably.

Guide

Count LLM Tokens: Estimates, Exact Counts and JSON Cost

Count LLM tokens with rules of thumb or exact o200k_base counts, and see why JSON costs more and why Urdu text is least reliable.

Guide

AGENTS.md and MCP Config Security: What to Check

AGENTS.md security: check AGENTS.md, CLAUDE.md and MCP configs for hidden characters, injection phrases and risky settings.

Guide

SPDX License Identifiers: Read MIT OR Apache-2.0

Read SPDX license identifiers and expressions like MIT OR Apache-2.0, find licenses in headers and copyright lines, and know what a finder cannot decide.

Guide

Chmod 755, 644 and 600: Linux File Permissions Explained

What chmod 755, 644, 600 and 777 mean, how octal digits map to rwx, why directories need execute and why SSH rejects keys that are too open.

Guide

curl Command Generator and 'Copy as cURL' Parser

A curl command generator and parser: build curl from a method, URL, headers and body, or paste Copy as cURL. Nothing is sent.

Guide

HMAC vs Hash: Generate and Verify an HMAC-SHA256

HMAC explained: how it differs from a plain hash, how to generate and verify HMAC-SHA256, and why a trailing newline or encoding breaks the match.

Guide

DNS Records Explained: A, CNAME, MX, TXT, SPF and DMARC

DNS records explained: A, AAAA, CNAME, MX, TXT, SPF, DMARC and CAA, the SPF 10-lookup limit and why parsed does not mean verified.

Guide

JSON to CSV and Back: Quotes, Delimiters and Formulas

Convert JSON to CSV and CSV to JSON correctly: quoting, delimiters, why 007 stays text, nested values and protecting against spreadsheet formulas.

Guide

Gitignore for .env Files: Keep Secrets Out of Git

Gitignore for .env files: generate a .gitignore for Node, Python and more, keep secrets out of Git and fix files already tracked.

Guide

Time Zone Converter: Meetings Across Zones and DST

Time zone converter guide: one meeting time in many zones, UTC offsets, day changes and daylight saving gaps, using IANA zone names.

Guide

Meta Tags, Open Graph and Twitter Cards: A Practical Guide

Open Graph meta tags, Twitter card tags and canonical links: write them and avoid conflicts such as noindex with canonical.

Guide

File Magic Numbers: Spot a Renamed or Disguised File

A file extension proves nothing. Learn how magic numbers reveal the real type of a file, why DOCX is a ZIP and what a signature match cannot prove.

Guide

Review Dependency Changes Before You Merge a Pull Request

Review dependency changes before you merge: compare package.json, lockfiles, requirements.txt, go.mod and Cargo.toml for risky changes.

Guide

AI-Generated Code Security: Insecure Patterns to Check

AI-generated code security: spot innerHTML, eval, SQL built from strings, verify=False and hard-coded secrets, and what a linter misses.

Guide

Compress Images: JPEG vs WebP vs PNG, Quality and Size

Compress image files in your browser: JPEG vs WebP vs PNG, why resizing beats lowering quality, and what batch and ZIP can do.

Guide

NDJSON Validator: Validate, Convert and Filter JSON Lines

NDJSON validator: check every line of a JSON Lines file, convert to and from a JSON array, filter records and spot mixed shapes.

Guide

Format SQL Online: Readable Queries and Risky Patterns

Format SQL online: readable queries by dialect without changing meaning, plus warnings for UPDATE without WHERE and SELECT *.

Guide

PX to REM: Conversion Table, the 62.5% Trick and clamp()

Convert px to rem with the formula rem = px ÷ root, see a table for 16px and the 62.5% setup, convert a CSS block and build a fluid clamp() size.

Guide

HTML Entities: Escape, Encode and Decode Safely

Encode &, <, >, quotes and non-ASCII characters as HTML entities, decode named and numeric ones, and learn where escaping is not enough.

Guide

HTTP Headers Explained: Missing Security Headers and Cookies

HTTP headers explained: paste request or response headers to see what each does, plus warnings for missing security headers and cookie flags.

Guide

Markdown to HTML and Back: What Converts Exactly

Convert Markdown to HTML and HTML to Markdown with GitHub-style tables and task lists, and see exactly which HTML cannot be written in Markdown.

Guide

User-Agent Parser: What the String Can and Cannot Tell You

User agent parser guide: read browser, engine, OS and device from a User-Agent string, and why Windows 11 and fake bots can't be told.

Guide

.env File to JSON: Quoting, Comments and Multi-line Values

Convert a .env file to JSON and back: how quotes, # comments, export prefixes, multi-line values and repeats are read, and why values are strings.

Guide

Create a Test JWT: HS256, RS256, ES256 and EdDSA

Create a test JWT online: sign with HS256, RS256, PS256, ES256 or EdDSA in your browser, generate a key pair and verify it.

Guide

JSON to TypeScript, Go and Python Types From a Sample

JSON to TypeScript, Go and Python: generate types from a sample and see how optional, nullable and union fields are inferred.

Guide

XML Formatter and Validator: Fix Well-Formedness Errors

XML formatter and validator: format or minify XML and fix mismatched tags, unescaped ampersands, two roots and unquoted attributes.

Guide

YAML to JSON: Anchors, Merge Keys and Why yes Is Text

Convert YAML to JSON and back: how anchors, merge keys and multi-document files expand, why yes stays a string in YAML 1.2 and why strings get quoted.