Galaryze
/docs

Documentation

What each tool does, what it relies on and where its limits are.

CSV / JSON analyzer

CSV and TSV (the delimiter is detected: comma, semicolon, tab or pipe) and JSON: an array of objects, an array of arrays, or an object holding an array. Nested objects become columns like a.b. Practical size: up to about 50 MB or 500,000 rows. Export keeps the current search and filter.

HAR viewer

HAR 1.2 from Chrome or Firefox DevTools (Network → Save all as HAR). With hiding on, values of authorization, cookie, set-cookie, x-api-key and similar headers, and URL parameters such as token, key, sig, password are replaced. The redacted download uses the same rules and drops response bodies. The list of hidden names is not exhaustive: review the file yourself before sharing it.

JSON formatter and diff

Validation reports the line and column of the first error. Comparison is structural: it lists added, removed and changed paths; array items are matched by index, so inserting one item at the start of an array shows every following item as changed.

JSON ⇄ YAML

Uses js-yaml 3 with the safe schema (YAML 1.2 core types, no custom tags). Comments are lost when YAML is converted to JSON, because JSON has no comments. Several YAML documents in one file become a JSON array.

Image ⇄ Base64

The image type is taken from the data: prefix or detected from the first bytes (PNG, JPEG, GIF, WebP, SVG, BMP, ICO). Base64 is about 33% larger than the file.

TOML and .env ⇄ JSON

TOML is handled by smol-toml 1.6 (TOML 1.0). Comments are lost in conversion; dates become ISO strings in JSON; JSON null cannot be written to TOML. For .env, every value is a string; quotes, export and # comments are understood. When JSON is turned into .env, nested keys are joined with an underscore and upper-cased, and arrays are written as JSON text.

Text diff

Uses the jsdiff library (Myers algorithm). The downloaded patch is in unified format and applies with patch or git apply. Limit: about 4 MB of text in total.

Regex tester

Uses the JavaScript regular-expression engine of your browser, so syntax and behaviour match JavaScript, not PCRE or Python. The table shows the first 500 matches; counting stops at 5,000.

SQL formatter

A layout tool, not a parser: it does not check that the query is valid and does not know dialect-specific syntax. Strings, quoted identifiers and comments are never changed. Works best on SELECT, INSERT, UPDATE and DELETE; long CREATE statements and procedural code are formatted only roughly.

Text utilities

Counting uses Unicode: an emoji or an accented letter is one character. Sorting follows your browser's language rules and treats numbers naturally (2 before 10). Duplicate removal keeps the first occurrence and compares lines exactly, including spaces and case. Undo restores the text as it was before the last button.

Markdown preview

Uses markdown-it 14 (CommonMark plus tables and strikethrough). Raw HTML inside the text is shown as text, not executed. External images are hidden unless you allow them, because loading one tells its server your IP address; images embedded as data: URIs are always shown.

Base64, URL, Hex, HTML

Text is treated as UTF-8. Base64 decoding accepts both the standard and the URL-safe alphabet, with or without padding. Decoding fails with a clear message when the bytes are not UTF-8 text; for binary data use the image or hash tools.

JWT decoder

Decoding does not prove that a token is genuine: anyone can write any payload. Signature checking is available for HMAC algorithms (HS256, HS384, HS512) when you know the secret; RSA and ECDSA signatures are not checked. Encrypted tokens (JWE) cannot be read.

Hash generator

SHA hashes come from the browser's Web Crypto API; MD5 and CRC32 are computed by the page. The whole file is read into memory, so the limit is 1 GB and large files need that much free RAM. MD5 and SHA-1 are fine for checking downloads against accidental damage but not for security.

Password generator

Uses crypto.getRandomValues with rejection sampling, so every character is equally likely. Each password contains at least one character from every selected set. Nothing is stored or sent; a password disappears when you close or reload the page.

UUID and ULID generator

UUID v4 has 122 random bits. UUID v7 (RFC 9562) starts with a millisecond Unix timestamp, so IDs sort by creation time and work better as database primary keys. ULID carries the same timestamp in a 26-character Base32 form. The inspector reads the timestamp from UUID v1, v6, v7 and ULID.

QR code generator

The encoder is part of the page and follows ISO/IEC 18004: byte mode, versions 1–40, four error-correction levels. Text is stored as UTF-8. A higher correction level survives more damage but makes a denser code. Keep the quiet zone at 4 modules for printing.

Colour converter

Accepts any colour the browser understands, including names and modern syntax. Contrast is the WCAG 2 ratio: 4.5:1 is the AA minimum for normal text, 3:1 for large text, 7:1 for AAA. CMYK is a plain arithmetic conversion without a print profile and is only a rough guide.

Image colour picker

Paste from the clipboard, drop a file or choose one. Moving the pointer shows a magnified view; a click fixes the point and copies its HEX value, and the last 16 colours stay in a list. After a click the arrow keys move the point by one pixel (with Shift by ten) and Enter copies again. The colour is read from the exact pixel of the original image, not from the scaled view; images larger than 4096 px on a side are scaled down first. JPEG compression changes colours slightly, so take colours from PNG screenshots when accuracy matters. The image is not uploaded.

Unix timestamp converter

A plain number is read as Unix time; the unit is chosen by magnitude (below 1011 seconds, then milliseconds, microseconds, nanoseconds). Anything else is parsed as a date; a date without a zone is taken in your computer's local time.

Cron expression parser

Standard five-field crontab: lists, ranges, steps, month and weekday names, and shortcuts such as @daily. Six-field (seconds) and Quartz syntax (L, W, #) are not supported. As in cron itself, when both day of month and day of week are restricted the job runs if either matches. Next runs use your local time zone unless UTC is ticked.

Subnet calculator

Accepts address/prefix, an IPv4 address with a dotted netmask, or a single address. For /31 and /32 both addresses are counted as usable (RFC 3021). Splitting lists at most 256 subnets.

URL parser

Parsing follows the browser's URL standard. The clean link drops known tracking parameters: utm_*, fbclid, gclid, yclid, msclkid and similar. A password in the URL is masked on screen.

Number base converter

Integers of any length are supported (no 64-bit limit); fractions are not. Type in any field and the others follow. Prefixes 0x, 0b, 0o, spaces and underscores are accepted. Negative numbers are shown with a minus sign, not in two's complement.

chmod calculator

The octal digits are owner, group and others; each is read (4) + write (2) + execute (1). An optional leading digit holds setuid (4), setgid (2) and sticky (1). For a directory, execute means the right to enter it. Symbolic input accepts nine characters or ten as printed by ls -l.

HTTP status codes

Covers the codes of RFC 9110 that occur in practice, plus common non-standard ones: 499 from nginx and 520–526 from Cloudflare, marked as such. Rare WebDAV-only codes are mostly left out.

Keyboard

On the home page / focuses the search and Enter opens the first result. In the CSV and HAR tools / focuses the filter.

Third-party code

Four open-source libraries are bundled with the site and served from this domain: js-yaml (MIT), jsdiff (BSD-3-Clause), markdown-it (MIT) and smol-toml (BSD-3-Clause). Their licences are in LICENSES.txt. Everything else is written for this site.