# Codecs API
# URL Encode
Encodes a string for use in URLs.
Example
"Save the whales!!! :O"
➔ "Save%20the%20whales!!!%20%3AO"
API Base URL
Parameters
Name | Type | Description | Required |
---|---|---|---|
string | String | String to be encoded | Yes |
Outputs
Name | Type | Description |
---|---|---|
result | String | Encoded string |
# URL Decode
Decodes an URL-encoded string.
Example
"Save%20the%20whales!!!%20%3AO"
➔ "Save the whales!!! :O"
API Base URL
Parameters
Name | Type | Description | Required |
---|---|---|---|
string | String | String to be decoded | Yes |
Outputs
Name | Type | Description |
---|---|---|
result | String | Decoded string |
# Base64 Encode
Encodes a string with base64.
Example
"To infinity and beyond!"
➔ "VG8gaW5maW5pdHkgYW5kIGJleW9uZCE="
API Base URL
Parameters
Name | Type | Description | Required |
---|---|---|---|
string | String | String to be encoded | Yes |
Outputs
Name | Type | Description |
---|---|---|
result | String | Encoded string |
# Base64 Decode
Decodes an base64-encoded string.
Example
"VG8gaW5maW5pdHkgYW5kIGJleW9uZCE="
➔ "To infinity and beyond!"
API Base URL
Parameters
Name | Type | Description | Required |
---|---|---|---|
string | String | String to be decoded | Yes |
Outputs
Name | Type | Description |
---|---|---|
result | String | Decoded string |
# Hex Encode
Encodes a string to its hexadecimal representation.
Example
"abracadalo"
➔ "61627261636164616c6f"
API Base URL
Parameters
Name | Type | Description | Required |
---|---|---|---|
string | String | String to be encoded | Yes |
Outputs
Name | Type | Description |
---|---|---|
result | String | Encoded string |
# Hex Decode
Decodes a hexadecimal string (to UTF-8).
Example
"61627261636164616c6f"
➔ "abracadalo"
API Base URL
Parameters
Name | Type | Description | Required |
---|---|---|---|
string | String | String to be decoded | Yes |
Outputs
Name | Type | Description |
---|---|---|
result | String | Decoded string |
# HTML Decode
Decodes HTML entitites in a string.
API Base URL
Example
"hello哈哈 '&"<>"
=> "hello哈哈 '&"<>"
Parameters
Name | Type | Description | Required |
---|---|---|---|
string | String | String to be decoded | Yes |
Outputs
Name | Type | Description |
---|---|---|
result | String | Decoded string |