Text Generator API

Category: text

Generate random text, Lorem Ipsum, passwords, UUIDs, and custom sequences. Runs entirely in the browser.

Endpoint

N/A Browser API (JavaScript)
No Server API

Response

Content-Type: N/A

This tool generates text in the browser using JavaScript. No server-side API is available.

// Browser-only: random text generated via JS

cURL Example

# No cURL equivalent — this tool runs in the browser

Code Samples

// Generate UUID
const uuid = crypto.randomUUID();

// Generate random password
const chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!@#$%';
const password = Array.from(crypto.getRandomValues(new Uint8Array(16)))
    .map(b => chars[b % chars.length]).join('');
import uuid, secrets, string

# Generate UUID
print(uuid.uuid4())

# Generate random password
alphabet = string.ascii_letters + string.digits + '!@#$%'
password = ''.join(secrets.choice(alphabet) for _ in range(16))
// Generate UUID
String uuid = UUID.randomUUID().toString();

// Generate random password
SecureRandom random = new SecureRandom();
String chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!@#$%";
String password = random.ints(16, 0, chars.length())
    .mapToObj(i -> String.valueOf(chars.charAt(i)))
    .collect(Collectors.joining());