Repair Base64
Quite often, users cannot decode Base64, because they got a malformed or invalid string. For example, this can happen if the source outputs an unexpected Base64 standard, the user copied unnecessary data, or something damaged the Base64 value. As a rule, such strings cannot be decoded without additional processing or human intervention, and because of this some inexperienced users mistakenly think that these strings are not decodable. Therefore, to help you decoding the undecodable, I developed a “repair tool” powered by some kind of magic, which is able to fix malformed Base64 and even inform you about detected errors. Of course, don’t wait for miracle, but don’t be surprised if it happens.
Please note that the repair tool may return many false positives and you should manually tidy up the results. If you get some weird results, please don’t judge me harshly. This tool can repair hundreds formats of poorly formatted Base64 values and in some cases it’s necessary to sacrifice accuracy in order to achieve good results. If you got wrong results, please send me your string and I’ll try to improve this tool.
Comments (152)
I hope you enjoy this discussion. In any case, I ask you to join it.
That's about 0a2a-67c5-7a30-a153-b88f-81ac-8898-b766
Got this one from a hidden value in a website, doesn't look like text, and it's IMO too short to be audio or video
Maybe just used for binary validation of some sort...
If you have an idea... :)
BTW excellent work here :D
Hi I don't know if that means base64 or not probably not what I'm confused about here is the symbol. You can infer or change the symbol (protobuf) into text yeah that's ridiculous ... it's only because of one symbol that I am confused for hours because I'm just a beginner
I would like to decode a base64 code but I cannot post the code here due to privacy reasons. I have tried all the methods listed on your website but couldn't come any closer to decoding it. Could you reach out to me via the email address that I have provided? Your help would mean a lot to us.
Regards.
$2Fz,~;8SwTV>nd!@&"=/#<@[7TfPSH)R_'/UwmFZG$
$2ex*T-'74{Hy7;}-V++qFdY|<&zDPl&z1"XO(&Ob$$
Thanks for your help
how do enter the base64 code into a html page do i use a <html> tag then base64 uri like this
<src="data:text/html;base64,PCFkb2N0eXBlIGh0bWw+D.........end it with" /> </html>
or how ??? please advise ... thank you in advance for the prompt reply!!! EdYou need a valid opening tag that supports HTML embedding (
src
is just an attribute). So, to embed a Base64 encoded HTML into a web page you can use iframe, embed, or object.For example, in your case, the code should look something like this:
<iframe src="data:text/html;base64,PCFkb2N0e..."></iframe>
What I wanted to accomplish is to base64 the whole completed html phpmail page and send it all as base64 .. is that possible with some other type of tag the <iframe> tag doesent seem to work... mail servers dont seem to see the <iframe> tag just like the CSS must be sent inline within the html for it to work.. please be so kind to advise... thank you in advance for you expert reply!!
The text i recieved it is from an application in c#.When i get this text which i think it is base64 and i try to create a pdf file. the file it is created but it is shows a white page.
Your string is not a Base64 value. It is just a binary source of your PDF file.
36d6-c71f-0d93-8206-a73c-768a-dc2d-25db
I got this one from a hidden part of a website.
1287-3a17-3c38-112e-6c7a-ddaf-863d-9c00
This is my undecodable ID^, even with the repair tool it did not work. It was received from a weird header nikto found on a webpage.
I have the error ID: 6da3-f4cd-b1a3-8653-101c-2582-7a63-c344
I'm totally clueless, so would help getting an audio file from this! All best.
You have to extract the full data URI from your HTML file (it is included between two quotation marks
src="..."
). Then you can obtain the audio file using the Base64 to Audio decoder.: 0a78-5b9c-6c7d-8dc2-9dd2-835d-0a11-2a3a My last phone and new one did content transfer
Thanks so much
I'm sorry for delay. Unfortunately, your string is neither a Base64 string nor any data format known to me. I recommend asking users on specialized smartphone forums and tell them some basic info about the file (name, size, location).
b712-dd3a-fe6b-a277-f793-722f-d19a-a7f3
thank you
Your string is part of an HTML page that contains several audio files and images embedded via data URI. The Repair Tool is able to extract all valid Base64 strings and this is why I'm confused because of your comment. Could you explain please what the problem is?
[UPDATED: ]
Sorry I forgot "376a-5491-5e8e-3166-a8e0-03f8-26f2-0537"
Id: 5097-2caa-af2b-54a5-7932-3753-9149-c761
I have a series of JSON files that I am getting from an API. They use this format and I want to know why it has the \, the carriage return and padding issues. Or most importantly how I can include a script to repair them for my project. I will have anywhere from 0-n items which I will iterate through, transform and display as a modal with text or something. Thanks for your help and generosity!
CM
Thanks Again!
CM
its about 3941-c524-8765-3459-0127-599c-40bc-b617
i have found this in a website and couldn't get rid of it,
really appreciate your efforts for people,
i will be very thankful to you if you could help me to decode it.
Thanks
Sorry for delay. Also, I' sorry for bad news, but your string is not Base64 encoded.
thank you for your assistance!
Your string is a .woff font file (Web Open Font Format). You can decode your Base64 string the Base64 to File decoder.
Your Base64 string is a corrupted PNG image. I'm sorry, but I don't think you can repair it.
boundary_1238_451212eb-68fa-4102-8bed-4bad29aa1982
Content-Type: application/octet-stream; name="Invoice RSI125851466.pdf"
Content-Transfer-Encoding: base64
JVBERi0xLjMKJSBJbnZvaWNlIFJTSTEyNTg1MTQ2NiAtIFJlcG9ydAolIEdlbmVyYXRlZCBi
...
LixkK0lGOmkrUmdObytcM2MhK2VeKCkrbzxIMiwjb2g9LC1OM0gsNzVZVCxBJjBiLEprXHAs
Sorry I'm a tech neanderthal. This is page 1 of 29. I tried to send the file but it won't let me or I be an idiot.
It seems to be an email attachment that contains a PDF file. It cannot be decoded properly, because you provided only first bytes of your Base64 string. However, if you do not know where it comes from, I highly recommend not trying to open it, because it may be a phishing message or even worse, it may contain security exploits.
please help me with the code 5b48-752d-fd82-de4d-a1d3-287c-e394-0ddb
it wordpress functions file
Your submission is a valid Base64 string. Unfortunately, it contains data unknown to me. Perhaps, it may contain the result of a cryptographic function. Therefore, to decrypt it, you need to know the passphrase and algorithm.
In any case, if this file is from an unknown source, I strongly do not recommend running or including it in PHP, because it may be a backdoor.
i appreciate it.
mfg
I have a base64 encoded binary format zip file which I would like to unzip and download please could you help.iam pasting bit of the file due to limitations.
file
PK Q 'P;hB«ò ã% $ CNMD008636024_79763540_1_1_MF118.xmlÂ]ð¹î% ~þ ÀàÒó··Ð È êZÜ ´uÄò¤O ¾>¬ `K I5À~2IVm·bd2¶"O .Ñ[ø «ZóóóXÎè? èOð?}¼ Ç×_|?ØÁèÀºÀÀ _È_À°/Ð È ¨ ì/~¬ Ä_à Ø qÈ OàÁ¤Øs°~} ¦ ÀOÀç²ÄÄ?ø ST >À ²?° ÄÁixkÈ~ ÀÐ ¨o~ ¸o
[UPDATED: ]
Great web site
Decode fails with
Caused by: com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte.
at com.rsa.cryptoj.p.hl.a(Unknown Source) ~[jsafe-4.0.jar:4.0]
{CBC}
to fix it.Thanks your for your work :)
cannot figure out what format it is if this is not the right one
thanks
Thx!
ID: ``754d-334b-2af8-bc58-0621-a76b-663d-ee17``
I created an LSTM trained on base64 from preselected images to write new base64 strings, curious if you can give me any insight on what errors are present and what sort of feedback you can give me to adjust the learning model to accurately recreate base64.
Hello there..I found this base 64 code in the phone, my partner gave to me. Any info would be much appreciated.
Thank you
Bobby
please help me decode this, am on a hacker challenge with my friends. i would also love it if you describe how you decoded it.
! C:\Users\korbi\Downloads\application.zip: The archive is corrupt
"
the intirety of the code is fragmented, but its in https://tcrf.net/MTV_Sports:_T.J._Lavin%27s_Ultimate_BMX_(Game_Boy_Color)
Found in my sent folder and can’t decipher it. Please help.
Thanks,
Al Jones
I got it from a p7m file.
Found from an ARG based on an old TV show. It seems that the top is valid Base64 and the footer is also valid. I was able to figure out what the footer said by decoding from B64 to ISO-2022-JP, but for the top it seems to just spit out garbage. Would definitely appreciate some help!
Indeed, the bottom string is a Base64 value, but I can’t say the same about the first one. At least (if it is ISO-2022-JP) this is strange to me that a such long string does not have any special characters (like “/” or “+”). Also, the “formatting” is somehow special (I mean, the number of lines, slashes, and characters per line).
The only thing I know for sure is that to complete such challenges you need to be in the loop, since quite often the details are part of the key.
Hola buenos dias tengo es codificación porque no puedo iniciar sesión en mi cuenta de google muchas gracias esperó su ayuda
My friend sent me this, none of us can solve it.
ID: 52c1-345f-1bca-39c9-0d69-ef46-5698-7825
Please decode the following-
UBREG vfWhtcmSwMVBpATqNI/0ieSjn1zN7RQiP/sECHw6UDQU3UCtwBGpxsW+Kyxagh3kgaJt8zJIkOO8GEKjfODfQ==
[UPDATED: ]
ID:735b-229a-6345-5d0c-71d0-f0fe-c2ee-b646
V0sXTWb4NFg7GndTo1Sbkkwm E̶N̶C̶R̶Y̶P̶T̶E̶D̶ ANHSJpKyjD2sVyPHxFI=
gAAAAABe9jNFemWEdfMxGhT0sCJcPXxzbNI703eoFrW-VHvCx0IVt2B3b_2DvtD0cxiiMrrsmqYwIZxwUv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Qf6eorxkr7E--iFlAkjCxf17XFX2zmmnWdVKlxXFYkGNHOfMxcgkD-M4SEOLP4aw_DF008CCGlzhHQI84bSVdsi_0FJplFEpUmU64gm048IXac609zqZ3j2Zr7rGQrMOZdKVMyJ-BDwdT0SbGozCvozE1kb1C2mxlEeo_pqxmYckOAdtCJEfumJdqnF8QrWrSS2i8UyMB
d229-addb-8b5a-59ba-6f81-e747-1f3e-b855
c6b7-2e48-9b0b-fd4a-600c-0a3d-7ce5-b25d
An android app dumped the file and I wanna know what's inside
ID: e391-bdc3-8e18-bd8a-d9c3-af9a-65cf-1639
let generateFile = (content, fileName) => {
let content1 = content.slice(29);
const blob = new Blob([content1], { type: "application/pdf" });
console.log(blob);
const link = document.createElement("a");
link.href = window.URL.createObjectURL(blob);
link.download = fileName;
link.click();
}
i have uploaded the content string at https://pastebin.com/W4zEXyPy
any suggestions please
Any help would be greatly appreciated. thank you for your time
ID f043-6c68-38ef-11fb-7c80-023c-d5f9-ce85
ID b870-7e52-de3d-6629-c31c-388f-b423-4576
ID: 5b5f-8f90-60bf-6507-eed8-97a3-1f27-5df0
6e6a-5ab7-f891-67f3-7514-c117-cd5f-f2e3
Thx you
What is encoding type for this ID : c603-6d2f-5d3d-b25c-3de5-4214-9181-645b ?
I can't decode using this website.
Thanks.
Sollevix
Thanks for your help
This is a code I have had from long time ago and I was never able to decode. I don't really know what format it is. It is a picture and it should be about sport, but I don't know. As I said, I've never could decode it. I appreciate your help.
Hola,
tube ese codigo de una webservices de un proveedor, aparentemente es un PDF de un documento electronico.
lo que necesito es interpretarlo para tener una previa en php
1822-7897-4be8-a055-7031-880f-ad50-81c.
Got this from a possible secret chat.
1891322 1787212897762 47792131057245301
Tried all I could to decode this string. Can you help?
5362-1bcc-d8fb-49e1-4021-e109-81d4-5c50
[UPDATED: ]
I am trying to translate the messages in this source code back up.
136c-3eae-fa1d-2c77-2f33-ee1d-492e-7dd1
Thank you
[UPDATED: ]
Any way I can buy you a few beers to help me with this
The data you sent doesn't need to be decoded. It's just some source code in JavaScript and C.
***
sending you a couple beers now
The file is apparently a JS, and the Base64 string is present as an object. The converter says it to be Octet/Binary file, Which further leads me to a file With wrong encoding, Or simply diamond question marks. Any Idea on how to decode the file?
BTW you are doing great work here.
I look forward to your analysis.
I mean is reverse version
Cause is so hard
Example
This is Fixed Version
HaUNN6377+bjajam663ejdH/
I want to turn that code with
HaUNN6377-bjajam663ejdh_
Random URL..
3aa2-af74-7204-8a71-795e-2234-d942-e56b
Hello admin! I am trying to decode the ones below using your great tools. However,I am not sure if these are Base64. Please, please help me with this?. Thank you.
$2Fz,~;8SwTV>nd!@&"=/#<@[7TfPSH)R_'/UwmFZG$
$2ex*T-'74{Hy7;}-V++qFdY|<&zDPl&z1"XO(&Ob$$
Thank you for the help!