Utilities tools

Everyday utilities: cron schedules, timestamps, subnets, user agents, HTTP status codes, MIME types, color contrast, UUIDs, passwords and QR codes.

Generators 3

Time & scheduling 3

Design 3

Network & system 4

Reference 2

Identifiers and secrets

The UUID Generator makes random version 4 UUIDs, time-ordered version 7 UUIDs and ULIDs, up to 1,000 at a time. Which one to pick depends on where it goes. A v4 UUID reveals nothing, which suits public identifiers. A v7 UUID or a ULID starts with a timestamp, so new keys sort after old ones and a database index stays compact as the table grows; the cost is that anyone who sees the ID learns when it was created. The article on UUID v4, v7 and ULID compares them in detail. The Password Generator uses the browser’s cryptographic random generator and shows the entropy of each password in bits, which is a better measure of strength than a list of character rules.

Time and schedules

A Unix timestamp is a count of seconds since 1 January 1970 UTC, but many systems store milliseconds instead, and a 13-digit number read as seconds lands tens of thousands of years in the future. The Unix Timestamp Converter detects the unit from the number of digits and shows the date in UTC and in any time zone. The article on seconds and milliseconds covers the year 2038 problem as well.

Cron expressions are short and easy to misread. The Cron Expression Parser describes a schedule in plain words and lists its next run times in the time zone you choose; the Cron Expression Generator works the other way, from a schedule you pick to the expression. Two rules surprise many people: when both day-of-month and day-of-week are restricted, a job runs when either matches, and the server’s time zone decides when “9 AM” is. The article on cron and time zones explains both, and the reference pages list common schedules such as every 5 minutes or the last day of the month.

Networks, files and the web

The CIDR Calculator gives the range, mask and host count of an IPv4 or IPv6 prefix, including the special cases /31 and /32 explained in the article on CIDR /31 and /32. The Chmod Calculator translates between 755, rwxr-xr-x and u=rwx,g=rx,o=rx, and the HTTP Status Codes and MIME Type Lookup references answer the questions that come up when you write or debug an API. The User Agent Parser reads browser, system, device and bot details from a User-Agent string.

Before you attach a HAR file to a bug report, open it in the HAR Viewer and Sanitizer. A HAR file records every request of a session, with its cookies, Authorization headers and tokens; the tool summarizes the requests and removes those secrets while keeping the timings, sizes, status codes and URLs that show the problem. It cannot recognize personal data that has no secret name, such as a customer’s name in a response body, so look through the summary before you send the file.

Colors and previews

The Color Converter converts between HEX, RGB, HSL and OKLCH. The Contrast Checker computes the WCAG contrast ratio of a text and background pair, says whether it passes AA and AAA, and suggests the nearest color that passes when it does not. The OG Image Generator makes the 1200 × 630 image that appears when a link is shared, and the QR Code Generator makes a QR code as SVG, which stays sharp at any print size.

In-depth articles