Decode String

Base64 Decode Endpoint

The Base64 Decode endpoint allows you to decode a given Base64-encoded string back into its original text. This is ideal for reversing Base64 encoding or extracting original data from encoded input.

Basic Info

  • URL: https://api.erensko.xyz/v1/base64/decode

  • Method: POST

  • Description: This endpoint accepts a Base64-encoded string as input in the request body and returns its decoded plain text representation..

URL Parameters

Key
Value

isImage

A boolean, if set to true, you must provide imagedata in your body which will be converted into a media URL. If not provided, it will be decoded as a normal Base64 string.

Body

Key
Value

string

The Base64 encoded string you would like to decode

Headers

Key
Value

Authorization

Your own personal API key, create one by clicking here. This is required.

Request Example

POST https://api.erensko.xyz/v1/base64/decode

{
  "string": "SGVsbG8sIHdvcmxkIQ=="
}

Response Example

{
  "base64Encoded": "SGVsbG8sIHdvcmxkIQ==",
  "decodedString": "Hello, world!"
}

Last updated