Microsoft Script Decoder

Decodes Microsoft Encoded Script files that have been encoded with Microsoft's custom encoding. These are often VBS (Visual Basic Script) files that are encoded and renamed with a '.vbe' extention or JS (JScript) files renamed with a '.jse' extention.

Input: TextResult: Text

Text input

Examples

Decode the harmless script var release = "2.1.0";

Input

#@~^FgAAAA==-mD~M+^+lk+,xPr  Fc!EINQYAAA==^#~@

Expected answer

var release = "2.1.0";
Decode the harmless script WScript.Echo("Hello world");

Input

#@~^HAAAAA==	Um.bwDR21tKcJ_+sVKPAGMVNrbihQkAAA==^#~@

Expected answer

WScript.Echo("Hello world");
Decode the harmless script var count = 42;

Input

#@~^DwAAAA==-mD~1W!xY,',* psAQAAA==^#~@

Expected answer

var count = 42;
Decode the harmless script var ready = true;

Input

#@~^EQAAAA==-mD~M+mNX,',OD!+I9gUAAA==^#~@

Expected answer

var ready = true;
Decode the harmless script WScript.Echo("Archive ready");

Input

#@~^HgAAAA==	Um.bwDR21tKcJzD^tb\n~M+l9zJ*iQAoAAA==^#~@

Expected answer

WScript.Echo("Archive ready");
Microsoft Script Decoder

Input

#@~^RQAAAA==-mD~sX|:/TP{~J:+dYbxL~@!F@*@!+@*@!&@*eEI@#@&@#@&jm.raY 214Wv:zms/obI0xEAAA==^#~@

Expected answer

var my_msg = "Testing <1><2><3>!";

WScript.Echo(my_msg);

Sample Encoded: #@~^RQAAAA==-mD~sX|:/TP{~J:+dYbxL~@!F@*@!+@*@!&@*eEI@#@&@#@&.jm.raY 214Wv:zms/obI0xEAAA==^#~@ Decoded: var my_msg = &#34;Testing !&#34;; VScript.Echo(my_msg);

Format reference: Microsoft Script Decoder background and specification

Related tools

Browse code tidy tools