Ruby : Base64.decode64()

Converts a Base64-encoded string into its original form. If the decoding process encounters invalid characters, they are ignored.


Function

Base64.decode64(str)

Parameters

str - A Base64-encoded string that needs to be decoded.

Return value

Returns the decoded version of the input string, following RFC 2045 standards.

Example

require "base64"

encoded_string = 'SSB3aWxsIGNvbWUgYmFjayBzb29u'
decoded_string = Base64.decode64(encoded_string)

Home Page Base64Decode List Privacy Policy About Us Contact

This website uses cookies to enhance your experience, personalize content and ads, and analyze our traffic.

©2025 Design by base64decodeonl.com