DoraPDF / Blog

UUID Generator: Create Random v4 UUIDs (GUIDs) Online, One or a Thousand at a Time

By the DoraPDF team · 5 min read · Updated 2026-11-28
UUID Generator: Create Random v4 UUIDs (GUIDs) Online, One or a Thousand at a Time

You are setting up test data, naming files for an import, or adding a primary key to a new table, and you need IDs that will never clash. Typing them by hand is out of the question, and writing a script just to get twenty values feels like overkill. A UUID generator solves this in a few seconds.

This guide explains what a UUID (or GUID) actually is, how to create random v4 UUIDs online with the free UUID Generator on DoraPDF, how to make a bulk UUID list for a spreadsheet or database, and the mistakes people make when they use them.

What is a UUID, and is a GUID the same thing?

A UUID (Universally Unique Identifier) is a 128-bit value written as 32 hexadecimal characters in five groups, like this:

3f2b8c1e-9a4d-4e7f-b1c2-6d8e0a5f4b21

GUID (Globally Unique Identifier) is the name Microsoft uses for the same format. For everyday work, a GUID and a UUID are interchangeable: a GUID column in SQL Server will accept a UUID made anywhere else.

There are several UUID versions. Version 1 mixes in a timestamp and hardware details, version 3 and 5 are made from a name and a hash, and newer version 7 starts with a timestamp so values sort by time. Version 4 is the random one, and it is the version most people mean when they say "just give me a UUID". You can spot a v4 value because the first character of the third group is always 4.

How to generate UUIDs online (step by step)

  1. Open the UUID Generator in any browser, on a phone or a computer.
  2. In How many, type the number of UUIDs you need. The default is 5 and you can create up to 1,000 at once.
  3. Tick UPPERCASE if your system expects capital letters (some Windows and .NET tools display GUIDs that way). Leave it off for the usual lowercase form.
  4. Click Generate. The list appears in the Result box, one UUID per line.
  5. Click Copy and paste the list where you need it: a spreadsheet column, a SQL script, a JSON file or a config.

Every click of Generate makes a completely new set, so if you need another batch, just click again.

What the tool uses under the hood

The generator calls crypto.randomUUID(), the random UUID function built into modern browsers. It produces standard version 4 UUIDs from the browser's cryptographically secure random number source, the same source used for things like password generation. Nothing is fetched from a server and the values are not stored anywhere.

That matters for two reasons: the output is properly random (not a simple counter dressed up as an ID), and you can use the tool offline once the page is loaded.

Benefits: why use a v4 UUID instead of a simple number?

Practical uses with examples

Test data for a database. Generate 50 UUIDs, paste them into the first column of a sheet, fill the other columns, and export as CSV. If your app reads JSON, convert the sheet with CSV to JSON and check the output with the JSON Validator.

SQL inserts. Paste UUIDs into an INSERT statement as quoted strings. If the script gets long and messy, tidy it with the SQL Formatter before you run it.

File and asset names. A UUID makes a safe unique file name for uploads, so two people uploading "photo.jpg" never overwrite each other.

Unique codes for forms or tickets. For internal tracking, a UUID is a quick unique reference. For codes people must type, though, it is too long; use a shorter random code instead.

Practical tips

Common problems and fixes

"My database says the value is invalid." Check for stray spaces or an empty line at the end of the pasted list. Also check whether the field expects braces, as in {3f2b8c1e-...}; some older Microsoft tools show GUIDs that way, and you may need to add or remove them.

"Sorting by ID gives a random order." That is expected: v4 values are random, so they do not sort by creation time. Sort by a created-at date column instead, or use a time-ordered scheme in your app if ordering by ID matters.

"I need more than 1,000." Generate in batches of 1,000 and paste them one under another. Duplicates between batches are, in practice, not a concern.

"Spreadsheet changed my UUID." Rarely, a spreadsheet tries to read a value as a number or date. Format the column as Text before you paste.

Privacy note

The UUID Generator runs entirely in your browser. The IDs are created on your device, are not sent to DoraPDF or anyone else, and disappear when you close the tab.

FAQ

Is a GUID the same as a UUID?

For practical purposes, yes. GUID is Microsoft's name for the same 128-bit format, and a v4 UUID works anywhere a GUID is expected.

Which UUID version does this generator create?

Version 4, the random version. You can see the 4 at the start of the third group of each value.

Can two generated UUIDs ever be the same?

In theory, yes; in practice, no. With 122 random bits, the odds are too small to matter for normal databases and apps.

Can I generate UUIDs in bulk?

Yes. Enter any number up to 1,000 in How many, click Generate, then copy the whole list in one go.

Does the UUID Generator work offline?

Once the page has loaded, yes, because the values are made by your browser, not a server.

Try it now

Need IDs for a project right now? Open the free UUID Generator, set how many you need and copy the list. While you are setting up your data, the JSON Validator and SQL Formatter are one click away.

Try the tools from this guide — free

Keep reading

Guide

Free Developer Tools Online: JSON Formatter, Regex Tester, Base64, URL Encoder, JWT Decoder, SQL and UUID

Eight small browser-based developer tools for everyday debugging: validate JSON, test regex, decode JWTs and Base64, format SQL, make UUIDs. Free.

Guide

SQL Formatter Online: Beautify a Messy SQL Query So You Can Actually Read It

Free SQL formatter online: paste a one-line query and get keywords in UPPERCASE and each clause on its own line. How it works, tips and its limits.

Guide

How to Fix Common JSON Errors: Unexpected Token, Trailing Commas and Missing Quotes

Unexpected token in JSON? Learn the eight JSON errors that break most files, how to spot each one with a free validator, and how to fix them fast.