Examples of Base64 to CSV Conversion
Convert Unreadable Base64 to Readable CSV
For instance, let's decode a base64-encoded dataset containing restaurant reviews, which provides information like restaurant names, cities, countries, and average ratings.
TmFtZSxDaXR5LENvdW50cnksQXZnLiBSYXRpbmcgKDEtNSkKQ2FmZsOoIEZsb3JpYW4sVmVuaWNlLEl0YWx5LDQuNwpBbmdlbGluYSxQYXJpcyxGcmFuY2UsNC42Ck5ldyBZb3JrIENvZmZlZSAmIEJhZ2VsLE5ldyBZb3JrLFVTQSw0LjUKU3RhcmJ1Y2tzIFJlc2VydmUgUm9hc3RlcnkgVG9reW8sVG9reW8sSmFwYW4sNC45
Resulting CSV:
Name,City,Country,Avg. Rating (1-5)Caffè Florian,Venice,Italy,4.7Angelina,Paris,France,4.6New York Coffee & Bagel,New York,USA,4.5Starbucks Reserve Roastery Tokyo,Tokyo,Japan,4.9
Decode a CSV Data URL
In another example, we decode fragmented base64 data with a data URL prefix to obtain readable CSV data regarding various animals, including their speed and habitat. This output is simple to edit and can be imported into Excel, Google Sheets, or similar programs.
data:text/csv;base64,YW5pbWFsLHNwZWVkIChrbS9oKSxsb2NhdGlvbgpLYW5nYXJvbyw3MCxBdXN0cmFsaWEKT3N0cmljaCw3MCxBZnJpY2EKSF9vc2VsaSw4OCxXb3J0bG93aWRlCkxpb25zODAsQWZyaWNhCkdpcmFmZmUsNTYsQWZyaWNhCkh5ZW5hLDY0LEFmcmljYQpDb3lvdGUsNjUsTm9ydGggQW1lcmljYQpXb2xmLDYwLE5vcnRoZXJuIEhlbWlzcGhlcmUKQ2hlZXRhaCwxMjAsQWZyaWNh
Resulting CSV:
animal,speed (km/h),locationKangaroo,70,AustraliaOstrich,70,AfricaHorse,88,WorldwideLion,80,AfricaGiraffe,56,AfricaHyena,64,AfricaCoyote,65,North AmericaWolf,60,Northern HemisphereCheetah,120,Africa
Pro Tips: You can easily pass input to this tool using the ?input query argument directly in your browser's address bar, simplifying your conversion process.
Try the Base64 to CSV tool now!