Skip to content

Generators

internet

Emails, usernames, domains, URLs, IPs, user agents, passwords.

var faker = Faker(seed: 1337, locale: DecoyLocaleEN.locale)
faker.internet.domainSuffix()
Method Example output
domainSuffix() sharp
cbn
se
domainWord() biermann
dodd
browning
domainName() flynn.tci
chinchilla.bz
ash.travel
url(secure: Bool = true) https://welborn.events
https://smith.theatre
https://hunter.allfinanz
email(firstName: String? = nil, lastName: String? = nil, domain: String? = nil) angelo.diaz@example.com
todd.leon@example.net
margaret.kaul@example.net
freeEmail() richard.hudson@outlook.com
brad.tarango@gmail.com
kasey.stinnett@hotmail.com
username() gary2059
katelyn272
austin2290
password(length: Int = 16) nIMLiXH4*7C2WF&K
y8#d^xfxwr$kt#Of
L!H&aYjW6hBd4Wdg
ipv4() 66.99.201.75
164.72.138.73
125.152.232.233
ipv6() 70b6:7f19:9a5f:b091:c141:5e75:f138:99fa
d578:a4c1:0a15:81f2:06cf:649b:0896:289d
3310:c757:07df:3b05:2980:5f4d:ba59:1426
macAddress() 27:3c:09:85:32:f2
b0:75:8c:0f:b9:83
8b:00:fe:ae:78:f4
port() 1099
5570
3537
httpMethod() POST
DELETE
HEAD
gamertag() UnadjustedSpear8870
GushingParty
PluralTelepathist67
httpStatusCode(_ category: HTTPStatusCategory? = nil) 416
302
200
userAgent() Mozilla/5.0 (iPhone; CPU iPhone OS 11_9 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like G
Mozilla/5.0 (iPhone; CPU iPhone OS 14_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like G
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) V
jwtAlgorithm() ES256
A192KW
ECDH-ES+A192KW
emoji(_ category: String? = nil) 🎿
🌑
🔸
hexColor() #d10490
#acf399
#9ed2ce

Examples are real output from three different seeds, captured when this page was built, using each method’s default arguments. Where a signature shows parameters, pass your own to change the size, gender, length or format.