Per-language code
Standard code snippets for generating UUIDs in major programming languages.
Python
How to generate a standard UUID (typically v4) in Python, using the standard library or a widely used package.
JavaScript
How to generate a standard UUID (typically v4) in JavaScript, using the standard library or a widely used package.
TypeScript
How to generate a standard UUID (typically v4) in TypeScript, using the standard library or a widely used package.
Java
How to generate a standard UUID (typically v4) in Java, using the standard library or a widely used package.
Go
How to generate a standard UUID (typically v4) in Go, using the standard library or a widely used package.
Rust
How to generate a standard UUID (typically v4) in Rust, using the standard library or a widely used package.
C#
How to generate a standard UUID (typically v4) in C#, using the standard library or a widely used package.
PHP
How to generate a standard UUID (typically v4) in PHP, using the standard library or a widely used package.
Ruby
How to generate a standard UUID (typically v4) in Ruby, using the standard library or a widely used package.
SQL
How to generate a standard UUID (typically v4) in SQL, using the standard library or a widely used package.