trendscope
search 19y of HN中文 subscribe github
← tools

utils

Everyday utilities that used to need a browser extension. 100% client-side. · web: QR, social card, robots.txt → · dev: subnet, base, password, CSV↔JSON → · a11y audit → · geo · ext?

Color converter

Accepts #hex, rgb(), rgba(), hsl(), named colors.

Text inspector

Counts, case transforms, whitespace cleanup — live as you type.

YAML ↔ JSON

JSON→YAML always runs offline. YAML→JSON uses js-yaml via CDN when available.

Outline → tree

Indented list (2 spaces or tab per level) → SVG decision tree. Great for branching options.

Contrast checker

WCAG 2.1 contrast ratio for text on background — AA needs 4.5:1, AAA 7:1.

Aa preview

Slug generator

Title → URL-safe slug. Handles accents (Café → cafe), keeps '-' and '_', batch mode = one per line.

URL query editor

Paste a URL — inspect and edit its parts, get the rebuilt URL.

query params (edit values directly)
rebuilt

Date calculator

Two dates → the span between them (incl./excl.); or a date ± N days → result date. No upload.

→
date ± days

Timezone converter

Now, or a datetime — shown across common zones. Pick a zone to see the converted time; all client-side (Intl).

Word frequency

Paste text — counts words (case-folded, punctuation stripped). Toggle the stopword filter, export as CSV.

Line ops

Paste lines — sort, dedupe, reverse, shuffle, number, or strip whitespace in one click.

OPML → feeds.yaml

Paste an OPML export from your RSS reader — get feedpaper feeds.yaml entries.

Crontab explainer

Paste a 5-field cron expression — get a plain-English reading plus the next 5 fire times (local tz).

chmod calculator

Tick the permission boxes — get the octal and symbolic forms, or paste an octal to fill the boxes.

readwriteexecute
owner
group
others

octal: → fill boxes

CSV ↔ JSON

Paste CSV on the left → JSON rows on the right. Paste a JSON array → back to CSV.

password generator

crypto.getRandomValues, runs entirely in your browser — nothing is sent anywhere.

length

case converter

Paste any identifier or text → all naming conventions at once.

sort & dedupe lines

Paste lines → sorted/deduped/reversed/shuffled out.

uuid v4 generator

Random UUIDs from crypto.randomUUID() (CSPRNG), batch of N.

file-size unit converter

Bytes ↔ KB/MB/GB (SI 1000) ↔ KiB/MiB/GiB (IEC 1024), plus bit-rate.

lorem ipsum generator

Placeholder text: N paragraphs or words, classic or silly.

aspect ratio calculator

W:H ratio ↔ missing dimension ↔ CSS padding trick.

ratio :  |  width → height

presets:

morse code converter

Text ↔ Morse (dot/dash, / = word space). A-Z 0-9 + common punctuation.

roman numeral converter

1-3999 ↔ I-MMMCMXCIX, strict validation.

mime type ↔ extension

Filter the table — or paste a filename / mime type. Common web dev types.

semver sort & compare

One version per line → sorted. Or two versions to compare. Powered by compare-versions.

vs

regex tester

Pattern + flags + test text → highlighted matches with capture groups.