# Codecs API

# URL Encode

Encodes a string for use in URLs.

Example

"Save the whales!!! :O""Save%20the%20whales!!!%20%3AO"

API Base URL

https://api.abracadalo.com/codecs/urlEncode
Copy

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

https://api.abracadalo.com/codecs/urlDecode
Copy

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

https://api.abracadalo.com/codecs/base64Encode
Copy

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

https://api.abracadalo.com/codecs/base64Decode
Copy

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

https://api.abracadalo.com/codecs/hexEncode
Copy

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

https://api.abracadalo.com/codecs/hexDecode
Copy

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

https://api.abracadalo.com/codecs/htmlDecode
Copy

Example

"hello&#21704;&#21704;&nbsp;&#39;&amp;&quot;&lt;&gt;" => "hello哈哈 '&"<>"

Parameters

Name Type Description Required
string String String to be decoded Yes

Outputs

Name Type Description
result String Decoded string
Last Updated: 3/12/2022, 12:26:02 PM