# GUID Generator > Free, fast, client-side GUID (Globally Unique Identifier) and UUID (Universally Unique Identifier) generator web application. Generates cryptographically secure RFC 4122 / RFC 9562 Version 4 random UUIDs, supporting single and bulk creation (up to 3,000 at once), 11 custom formatting toggles, instant clipboard copy, zero user tracking, and code guides for 9 programming languages. ## Agentic Browser & Automation Guide When navigating `https://guidgenerator.app` with an autonomous agentic browser (Playwright, Puppeteer, browser-use, OpenAI Operator, MultiOn, Claude Computer Use), use the following DOM selectors, actions, and interaction patterns: ### Single GUID Generation - **Result Element**: - Selector: `#generatedGuid` (or `.guid-result`) - Type: `div` - Action: Read `.textContent` / `innerText` to extract the currently displayed GUID. - **Generate New GUID Button**: - Selector: `button[aria-label="Generate new GUID"]` (or button containing text `New GUID`) - Action: Click to generate a new random GUID. The result in `#generatedGuid` updates immediately. - **Copy to Clipboard Button**: - Selector: `button[aria-label="Copy GUID to clipboard"]` (or button containing text `Copy GUID`) - Action: Click to copy the current GUID to the system clipboard. A transient toast notification appears confirming "GUID copied to clipboard". ### Formatting Options (Real-time Checkboxes) Toggling any of the following checkboxes immediately mutates `#generatedGuid` and `#generatedGuids` without requiring a page reload: | Option | Selector | Effect | Example Output | |---|---|---|---| | **Uppercase** | `input#opt-uppercase` | Converts hex digits `a-f` to uppercase `A-F` | `C3D4E5F6-...` | | **No Hyphens** | `input#opt-hyphens` | Strips all 4 hyphens (32 contiguous hex characters) | `c3d4e5f678904...` | | **Double Quotes** | `input#opt-double-quotes` | Wraps GUID in double quotation marks `"` | `"c3d4e5f6-..."` | | **Single Quotes** | `input#opt-single-quotes` | Wraps GUID in single quotation marks `'` | `'c3d4e5f6-...'` | | **Parentheses** | `input#opt-parentheses` | Wraps GUID in parentheses `()` | `(c3d4e5f6-...)` | | **Curly Braces** | `input#opt-curly` | Wraps GUID in curly braces `{}` (standard Microsoft registry format) | `{c3d4e5f6-...}` | | **Square Brackets** | `input#opt-brackets` | Wraps GUID in square brackets `[]` | `[c3d4e5f6-...]` | | **Angle Brackets** | `input#opt-angles` | Wraps GUID in angle brackets `<>` | `` | | **Append Comma** | `input#opt-comma` | Appends a trailing comma `,` after the GUID | `c3d4e5f6-...,` | | **Append Semicolon** | `input#opt-semicolon` | Appends a trailing semicolon `;` after the GUID | `c3d4e5f6-...;` | | **JavaScript Array** | `input#opt-js-array` | Formats bulk output as a valid JavaScript array `['...', '...']` | `['c3d4e5f6-...']` | ### Bulk GUID Generation - **Count Input**: - Selector: `input#noOfGuids` - Attributes: `type="text"`, `inputmode="numeric"`, `maxlength="4"` - Range: `1` to `3000` (Defaults to `5`). Values greater than `3000` clamp to `3000`. - Action: Type desired integer count. - **Bulk Output Textarea**: - Selector: `textarea#generatedGuids` - Attributes: `readonly`, `name="GeneratedGuids"` - Action: Read `.value` to extract newline-delimited (or JavaScript array formatted) GUIDs. - **Generate Bulk Button**: - Selector: `button[aria-label="Generate multiple GUIDs"]` (button containing text `Generate GUIDs`) - Action: Click to regenerate the bulk batch according to the count input and active formatting toggles. - **Copy Bulk Button**: - Selector: `button[aria-label="Copy all generated GUIDs to clipboard"]` (button containing text `Copy GUIDs`) - Action: Click to copy all bulk GUIDs to clipboard. ### Appearance & Navigation - **Theme Toggle**: - Selector: `button.theme-toggle-btn` - Action: Click to toggle between Dark Mode and Light Mode. Persisted in `localStorage.getItem('theme')`. - **Navigation Links**: - Selector: `.nav-list a[routerLink]` (desktop) or `.mobile-nav-toggle` to open menu on viewports < 768px. --- ## Direct In-Browser / Node.js Generation Agentic browsers and AI models can generate identical RFC 4122 Version 4 UUIDs directly without DOM interactions: ```javascript // Native modern browser and Node 19+ / Bun / Deno API: const uuid = crypto.randomUUID(); // Standard 8-4-4-4-12 representation: // e.g. "f47ac10b-58cc-4372-a567-0e02b2c3d479" ``` --- ## Language Guides & Documentation Comprehensive implementation guides for generating and parsing GUIDs/UUIDs across major programming languages: - [C# GUID Guide](https://guidgenerator.app/how-to-generate-a-guid-in-csharp): Built-in `System.Guid.NewGuid()` and `Guid.Parse(string)` in .NET and C#. - [Java UUID Guide](https://guidgenerator.app/how-to-generate-a-uuid-in-java): Generating cryptographically strong v4 UUIDs using `java.util.UUID.randomUUID()`. - [Python UUID Guide](https://guidgenerator.app/how-to-generate-a-uuid-in-python): Generating and parsing UUIDs using Python's standard library `uuid.uuid4()` and `uuid.UUID(str)`. - [Go UUID Guide](https://guidgenerator.app/how-to-generate-a-uuid-in-go): Generating UUIDs in Go with `github.com/google/uuid` via `uuid.New()`. - [JavaScript GUID Guide](https://guidgenerator.app/how-to-generate-a-guid-in-javascript): Using native `crypto.randomUUID()` in browsers and Node.js. - [Ruby UUID Guide](https://guidgenerator.app/how-to-generate-a-uuid-in-ruby): Using standard library `securerandom` via `SecureRandom.uuid`. - [TypeScript UUID Guide](https://guidgenerator.app/how-to-generate-a-uuid-in-typescript): Type-safe UUID generation and brand typing in TypeScript. - [PHP UUID Guide](https://guidgenerator.app/how-to-generate-a-uuid-in-php): Native PHP `random_bytes()` formatted generation and `ramsey/uuid` library. - [VB.NET GUID Guide](https://guidgenerator.app/how-to-generate-a-guid-in-vb-net): Using `System.Guid.NewGuid()` in Visual Basic .NET. - [Privacy Policy](https://guidgenerator.app/privacy-policy): Zero cookie tracking policy, local client execution, and privacy compliance. --- ## Uniqueness & Mathematical Guarantees - **Bit Length**: 128 bits (16 bytes). - **Entropy for Version 4**: 122 random bits (6 bits reserved for version `0100` and variant `10xx`). - **Total Combinations**: 2^122 ≈ 5.3169 × 10^36 distinct values. - **Collision Probability**: Generating 1 billion GUIDs per second continuously for 85 years yields only a 50% chance of a single duplicate. Reaching a 1-in-a-billion collision chance requires generating ~103 trillion GUIDs. --- ## Full Reference - [Full Documentation Payload](https://guidgenerator.app/llms-full.txt): Complete reference containing full code implementations, syntax details, and examples for all 9 programming languages. - [Sitemap](https://guidgenerator.app/sitemap.xml): Complete XML sitemap listing all indexed routes. - [Robots.txt](https://guidgenerator.app/robots.txt): Crawler permissions and index directives.