A little know-how for your everyday tasks
Smaller photos, tidier documents, better writing and clearer code. Start with a practical guide, then put it to work with a free tool.
How to Make a Photo Smaller Without the Guesswork
Choose the right file type, dimensions and quality to get a photo under an upload limit, with a preview before you download.
How to Combine PDFs and Put the Pages in Order
Bring documents together, check their order and extract the pages you need, while keeping your source files on your device.
Words, Characters and Reading Time: What to Count
A practical guide to checking essays, captions and forms, and why two apps sometimes report different counts.
Common JSON Syntax Errors and How to Fix Them
Trailing commas, single quotes, comments, unescaped characters and other reasons JSON fails to parse, with the error each one produces and the fix.
How JSON Web Tokens Work: Claims, Signatures and Common Mistakes
What is inside a JWT, how the signature is checked, which claims matter and the mistakes that make tokens insecure.
YAML Pitfalls: Indentation, Implicit Types and Multi-line Strings
The YAML mistakes that break configuration files: tabs, inconsistent indentation, values that change type, and block scalars.
Base64 Encoding Explained: Padding, Base64URL and When to Use It
How Base64 turns bytes into text, why it adds padding and a third to the size, how Base64URL differs, and why it is not encryption.
JavaScript Regular Expressions: A Practical Cheat Sheet
Character classes, quantifiers, groups, lookarounds and flags in JavaScript regex, with tested patterns for everyday tasks.
Cron Syntax Explained, With Examples
The five cron fields, ranges, steps and lists, the day-of-month and day-of-week rule, and ready-made schedules you can copy.
How to Pretty-Print JSON in JavaScript, Python, jq and VS Code
Format JSON with indentation from the command line, in code and in your editor: JSON.stringify, python -m json.tool, jq and VS Code.
JSON vs YAML vs XML: Differences and When to Use Each
How JSON, YAML and XML differ in syntax, data types, comments, schemas and tooling, and which to choose for APIs, configuration and documents.
CSV Files Done Right: Quoting, Delimiters, Encoding and Excel
Why CSV files break between tools: quoting rules, delimiters, line breaks in fields, UTF-8 and BOMs, Excel quirks and CSV injection.
Unix Timestamps Explained: Seconds, Milliseconds and Time Zones
What a Unix timestamp is, seconds versus milliseconds, converting in JavaScript, Python and SQL, time zones, leap seconds and the year 2038 problem.
UUID v4 vs v7: Which UUID Version Should You Use?
How UUID versions differ, why v7 suits database keys better than v4, collision odds, and how to generate and validate UUIDs.
CIDR and Subnetting Explained, With Worked Examples
How CIDR notation and subnet masks work, how to calculate network and broadcast addresses, split a network into subnets and read /31 and /32.
URL Encoding Explained: Percent-Encoding, encodeURIComponent and +
Which characters must be percent-encoded, encodeURI versus encodeURIComponent, + versus %20, double encoding and encoding in other languages.
Escaping HTML Correctly: Entities, Contexts and XSS
When and how to escape text for HTML, attributes, JavaScript and URLs, which entities matter, and why context-aware escaping prevents XSS.
MD5, SHA-256 and bcrypt: Hashing vs Password Hashing
What cryptographic hashes are for, why MD5 and SHA-1 are broken for security, and why passwords need bcrypt, scrypt or Argon2 instead.
What Minification Does to CSS, JavaScript and HTML
What minifiers remove and rewrite, how much they save next to gzip and Brotli, source maps, and the changes that can break a page.
HEX, RGB, HSL and OKLCH: CSS Colour Formats Explained
How the CSS colour formats work, converting between them, alpha transparency, why HSL lightness misleads and what OKLCH fixes.
SQL Formatting Style Guide: Readable Queries Your Team Can Agree On
Practical conventions for keyword case, indentation, line breaks, aliases, joins and CTEs, with before-and-after examples.