Utilities
Small utility endpoints handy for chaining requests in API tests: ids, time, encoding, hashing, random data, lorem ipsum and JWT inspection.
- GET
https://api.testingapis.com/api/utils/base64/decodeDecode a base64 string. - GET
https://api.testingapis.com/api/utils/base64/encodeBase64-encode UTF-8 text. - GET
https://api.testingapis.com/api/utils/hashHash UTF-8 text. - GET
https://api.testingapis.com/api/utils/hmacCompute an HMAC of UTF-8 text. - GET
https://api.testingapis.com/api/utils/jwt/decodeDecode a JWT without verifying its signature. - GET
https://api.testingapis.com/api/utils/loremGenerate lorem ipsum text. - GET
https://api.testingapis.com/api/utils/random/numberGenerate random integers. - GET
https://api.testingapis.com/api/utils/random/stringGenerate a random string. - GET
https://api.testingapis.com/api/utils/timeReturn the current time in many formats. - GET
https://api.testingapis.com/api/utils/url/decodePercent-decode a string. - GET
https://api.testingapis.com/api/utils/url/encodePercent-encode text (RFC 3986). - GET
https://api.testingapis.com/api/utils/uuidGenerate one or more UUIDs.
Example request
Decode a base64 string. Full reference and a Send button.
cURL
curl -X GET "https://api.testingapis.com/api/utils/base64/decode?value=aGVsbG8gd29ybGQ%3D"Response · 200 OK
{
"input": "aGVsbG8gd29ybGQ=",
"decoded": "hello world",
"isUtf8": true,
"hex": "68656c6c6f20776f726c64",
"length": 11
}