Donation  Momo Buy me a coffee!

Base64 Decode - Encode

Meet Base64 Decode and Encode, a simple online tool that does exactly what it says: decodes from Base64 encoding as well as encodes into it quickly
Base64 Decode - Encode Free Online Tool
Base64 Decode - Encode Free Online Tool

Encode and decode operations on this tool.

In communication areas without SSL protocol, you can send and receive your information with base64 between you.

Javascript

// Define the string
var string = 'Hello , Wellcom to SoiPro.Com!';

// Encode the String
var encodedString = btoa(string);
console.log(encodedString); // Outputs: "SGVsbG8gLCBXZWxsY29tIHRvIFNvaVByby5Db20h"

// Decode the String
var decodedString = atob(encodedString);
console.log(decodedString); // Outputs: "Hello , Wellcom to SoiPro.Com!"

Python

### encode
import base64
  
sample_string = "Hello , Wellcom to SoiPro.Com!"
sample_string_bytes = sample_string.encode("ascii")
  
base64_bytes = base64.b64encode(sample_string_bytes)
base64_string = base64_bytes.decode("ascii")
  
print(f"Encoded string: {base64_string}")

### decode
import base64
  
  
base64_string ="SGVsbG8gLCBXZWxsY29tIHRvIFNvaVByby5Db20h"
base64_bytes = base64_string.encode("ascii")
  
sample_string_bytes = base64.b64decode(base64_bytes)
sample_string = sample_string_bytes.decode("ascii")
  
print(f"Decoded string: {sample_string}")

Privacy notice:

 All content generated by this tool is done on your computer via client-side JavaScript whenever possible, or on the SoiPro server as a fallback if not. No submitted or generated data is recorded or stored by NVH Corp. See the website privacy statement regarding general use of this website.    

About the Author

Hello this is NVH Corp, I am Web Designer and Expert at SoiPro(dot)Com

Đăng nhận xét

Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.