Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

text to 64base javascript

// Define the string
var string = 'Hello World!';

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

// Decode the String
var decodedString = atob(encodedString);
console.log(decodedString); // Outputs: "Hello World!"
Comment

PREVIOUS NEXT
Code Example
Javascript :: how to reverse a string in javascript 
Javascript :: chartjs stacked bar show total 
Javascript :: flatlist react native 
Javascript :: adding new sass version 
Javascript :: toggle hidden attribute javascript 
Javascript :: TypeError: MiniCssExtractPlugin is not a constructor 
Javascript :: string array to int array javascript 
Javascript :: jwt token expire times 
Javascript :: nodejs on exit event 
Javascript :: alternate color to table row jquery 
Javascript :: update formgroup value angular 
Javascript :: keypress javascript 
Javascript :: how to check if array is empty or not in javascript 
Javascript :: mongodb add admin user 
Javascript :: adding firebase to angular 
Javascript :: react flip move 
Javascript :: Jquery trigger change event upon dom ready 
Javascript :: immediate invoke function js 
Javascript :: go to top angular 
Javascript :: convert object to array javascript 
Javascript :: use import in node 
Javascript :: react make component full screen 
Javascript :: Finding HTML Element by Id 
Javascript :: javascript domcontentloaded 
Javascript :: draw line in javascript 
Javascript :: get id by this jquery 
Javascript :: javascript json decode 
Javascript :: vue shortcut to create component 
Javascript :: regex match word inside string 
Javascript :: javascript pass all arguments to another function 
ADD CONTENT
Topic
Content
Source link
Name
4+4 =