pipr.tools

base64-decode

Decode Base64 to text

{ } Encode

Try it

stdin0 chars
stdout0 chars

Example

Decode a Base64 string

Usage
$ echo "SGVsbG8gV29ybGQh" | base64-decode
View source
(input) => {
      try {
        return decodeURIComponent(escape(atob(input.trim())));
      } catch (e) {
        return `Error: ${e.message}`;
      }
    }

Suggested Pipelines

Related Tools