Skip to content
JustDevTools
  • JSON formatter and validator
    Format, minify and validate JSON, with the exact line and column of any syntax error.
  • JWT decoder
    Read a JWT's header and payload, with issued-at and expiry times shown as real dates.
  • Base64 encoder and decoder
    Encode and decode Base64 and Base64URL, with full Unicode support.
  • JSON to TypeScript, Zod and Java
    Paste a JSON response and get TypeScript interfaces, a Zod schema or Java classes with Jackson annotations.
  • YAML to JSON converter
    Convert YAML to JSON and JSON to YAML, with the exact line of any syntax error. Handles multi-document files.
  • Regex tester
    Test JavaScript regular expressions with live match highlighting, capture groups and replace preview.
  • URL encoder and decoder
    Percent-encode and decode URLs and query values, and break a URL into its parts and parameters.
  • Unix timestamp converter
    Convert Unix timestamps in seconds or milliseconds to dates, and dates back to timestamps.
  • Cron expression explainer
    See what a cron expression means in plain English, what each field does and the next times it will run.
  • JSON to CSV converter
    Turn a JSON array into CSV for Excel or Google Sheets, or a CSV file into JSON. Nested objects become columns.
  • UUID generator and inspector
    Generate UUID v4 and time-ordered v7 in bulk, or paste a UUID to see its version and timestamp.
  • Text diff checker
    Compare two texts line by line and see exactly what was added, removed or changed.
  • Hash and HMAC generator
    SHA-256, SHA-1, SHA-384 and SHA-512 hashes and HMAC signatures of text, in hex or Base64.
  • Markdown previewer
    Write Markdown on the left and see it rendered live on the right, with GitHub-style tables and task lists.

UUID generator and inspector

Generate UUID v4 and time-ordered v7 in bulk, or paste a UUID to see its version and timestamp.

Runs locally. Nothing you paste leaves this tab.

5 UUIDs

Generating…

v4 or v7?

UUID v4 is 122 random bits. It reveals nothing about when or where it was made, which is why it is the default almost everywhere.

UUID v7 (RFC 9562, 2024) starts with a 48-bit millisecond timestamp, followed by random bits. New IDs sort after old ones, so database indexes stay compact. Random v4 keys scatter inserts across a B-tree, while v7 keys append to the end, the way an auto-increment ID does. Use v7 for primary keys. Use v4 when the creation time shouldn’t be visible, for example in a public URL.

Reading a UUID

In 0190c2a4-8f2b-7c3e-9a41-5f0d2e6b7c18, the first digit of the third group is the version (7). The first digit of the fourth group is the variant: 8, 9, a or b means a standard RFC UUID. Paste any UUID into the inspector to see its version and variant, and the time it was created if it’s a v1 or v7.

Are collisions possible?

In theory, yes. In practice, no: you would need to generate about 2.7 quintillion v4 UUIDs to reach a 50% chance of a single collision. The real risk is a weak random number generator. This page uses crypto.getRandomValues, the browser’s cryptographic generator.

In code

// JavaScript (browsers and Node 19+)
crypto.randomUUID();                 // v4

// Java
UUID.randomUUID();                   // v4

// Python
import uuid
uuid.uuid4()
uuid.uuid7()                         # Python 3.14+

// PostgreSQL
SELECT gen_random_uuid();            -- v4
SELECT uuidv7();                     -- PostgreSQL 18+

Store UUIDs in a native uuid column (PostgreSQL) or BINARY(16) (MySQL), not as 36-character strings. That cuts index size by more than half.