\tug site

Passwords

Strong and random. In your browser, or on the server.

Generate — passwords appear here.

Four words. Memorable list in the browser; larger dictionary on the server.

API

API

Same idea as the \tug ip API — parameters on the URL.

GET https://tugsite.com/api/?length=16&upper=1&lower=1&digits=1&symbols=1&count=3
GET https://tugsite.com/api/?type=words&word_count=4&separator=-&capitalize=1&count=2
GET https://tugsite.com/api/?type=words&pool=eff&word_count=4

Standard

  • length / len — 4–128 (default 16)
  • count / n — 1–10 (default 1)
  • upper, lower, digits, symbols1/0
  • exclude_ambiguous — drop 0 O 1 l I

4-word (type=words)

  • word_count — 3–8 (default 4)
  • separator / sep-, space, _, ., or empty
  • capitalize1/0
  • poolextended (default) or eff

Outputformat=json or text.

Example JSON

{
  "passwords": [
    "donjon-kamas-triticeum-fervour"
  ],
  "password": "donjon-kamas-triticeum-fervour",
  "count": 1,
  "type": "words",
  "options": {
    "word_count": 4,
    "count": 1,
    "separator": "-",
    "capitalize": false,
    "pool": "extended"
  },
  "url": "https://tugsite.com/api/?type=words&word_count=4&count=1&separator=-&capitalize=0&pool=extended",
  "word_count": 4,
  "pool": "extended"
}

Need IP geolocation? \tug ip.