Utilities
Small utility endpoints handy for chaining requests in API tests: ids, time, encoding, hashing, random data, lorem ipsum and JWT inspection.
Your account unlocks these endpoints. Try it on each endpoint's page sends your key for you; from your own code, send a key from your API keys page in the X-TestingApis-Key header.
These endpoints need a free account. Create one or sign in to see their details and try them here.
- GET
https://api.testingapis.com/api/utils/base64/decodeDecode a base64 stringDecode a base64 string. - GET
https://api.testingapis.com/api/utils/base64/encodeBase64-encode UTF-8 textBase64-encode UTF-8 text. - GET
https://api.testingapis.com/api/utils/hashHash UTF-8 textHash UTF-8 text. - GET
https://api.testingapis.com/api/utils/hmacCompute an HMAC of UTF-8 textCompute an HMAC of UTF-8 text. - GET
https://api.testingapis.com/api/utils/jwt/decodeDecode a JWT without verifying its signatureDecode a JWT without verifying its signature. - GET
https://api.testingapis.com/api/utils/loremGenerate lorem ipsum textGenerate lorem ipsum text. - GET
https://api.testingapis.com/api/utils/random/numberGenerate random integersGenerate random integers. - GET
https://api.testingapis.com/api/utils/random/stringGenerate a random stringGenerate a random string. - GET
https://api.testingapis.com/api/utils/timeReturn the current time in many formatsReturn the current time in many formats. - GET
https://api.testingapis.com/api/utils/url/decodePercent-decode a stringPercent-decode a string. - GET
https://api.testingapis.com/api/utils/url/encodePercent-encode textPercent-encode text (RFC 3986). - GET
https://api.testingapis.com/api/utils/uuidGenerate one or more UUIDsGenerate one or more UUIDs.
Example request
Decode a base64 string. Full reference and a Send button.
curl -X GET "https://api.testingapis.com/api/utils/base64/decode?value=aGVsbG8gd29ybGQ%3D" \
-H "X-TestingApis-Key: YOUR_API_KEY"{
"input": "aGVsbG8gd29ybGQ=",
"decoded": "hello world",
"isUtf8": true,
"hex": "68656c6c6f20776f726c64",
"length": 11
}Sign in to see the details
The parameters, request and response examples and the live Try it panel for these endpoints are for signed-in members. Accounts are free and take a few seconds to create.