DengWoLai DengWoLai
Dev · DengWoLai

UUID Generator — v4 and v7 (Local)

UUID generator produces RFC 4122 identifiers using the browser's cryptographic random source. Version 4 is fully random; version 7 prefixes a timestamp, which keeps database indexes sequential.

Runs locally · files stay on device · works offline

How it works in 4 steps

  1. 1

    Pick or drop

    Select or drag files into the card — loaded directly into local memory.

  2. 2

    Set options

    Adjust target KB, format, dimensions or filters with instant feedback.

  3. 3

    Process locally

    Canvas, WebAssembly, or Web Crypto completes the job on your device.

  4. 4

    Save result

    Download directly; close the tab to clear everything from memory.

When to use this

Scenario Recommended Why
A primary key needs to be unguessable UUID v4 122 random bits from crypto.getRandomValues
Inserting into an index and avoiding page splits UUID v7 Time prefix keeps new rows at the end
Generating a batch for seed data UUID Generator Bulk generation with one click

Privacy & Offline Guarantee

Ready to use with zero installation or login. Once loaded once, core dependencies cache locally so the tool works offline.

FAQ

v4 or v7 — which should I use?

For a primary key in a B-tree index, v7: it is time-ordered so inserts stay at the end. For a token that must not reveal creation time, v4.

Are these cryptographically random?

v4 yes — it uses crypto.getRandomValues, which is a CSPRNG. Math.random would not be acceptable for identifiers that must be unguessable.

Is anything uploaded?

No. Generation is entirely local.

Something failed, or you wish this tool also did something else? Tell me →

Related Tools

Dev
Image to Base64
Turn an image into a data URI, with size comparison.
Local only →
Dev
URL Encoder / Decoder
Percent-encode URLs — see both encoder variants.
Local only →
Dev
HTML Escape / Unescape
Escape HTML entities so text shows literally.
Local only →
Dev
JSON to YAML and Back
Convert between JSON and YAML — config never uploaded.
Local only →

Ready to process your files privately?

Back to tool ↑