CINXE.COM
Encode/Decode
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <meta charset="utf-8" /> <title>Encode/Decode</title> <meta name="keywords" content="troubleshoot, G Suite, Google Apps, Google Workspace, free online conversion encoding"> <link href="//fonts.googleapis.com/css?family=Product+Sans" rel="stylesheet"> <link href='https://fonts.googleapis.com/css?family=Roboto_old:400,500,700,400italic,500italic,300,300italic,100' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="//www.gstatic.com/external_hosted/material_design_lite/mdl_css-teal-blue-bundle.css" /> <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons+Extended"> <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"> <link rel="stylesheet" href="/toolbox/static/toolbox.v2.css" type="text/css" media="screen" charset="utf-8" /> <link rel="shortcut icon" href="/toolbox/static/favicon.ico" > <link rel="stylesheet" href="static/encode_decode.v2.css" type="text/css" media="screen" charset="utf-8" /> <script src="js/encode_decode_prod.js"></script> <script src="https://gstatic.com/external_hosted/material_design_lite/mdl_all_js_compiled.js"></script> <script type="text/javascript" src="/toolbox/static/toolbox.js"> </script> <script type="text/javascript"> var tag = ''; tag = 'G-G0TNCXY329'; window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', tag); var f = document.getElementsByTagName('script')[0]; var j = document.createElement('script'); j.async = true; j.src = 'https://www.googletagmanager.com/gtag/js?id=' + tag; f.parentNode.insertBefore(j,f); </script> </head> <body> <div class="mdl-layout mdl-js-layout mdl-layout--fixed-header"> <header class="mdl-layout__header mdl-layout__header--scroll"> <div class="mdl-layout__header-row" id="maia-nav-x"> <span class="mdl-layout-title"> <h1 class="logo-row"> <div class="lockup"> <a href="/apps/main/"> <span class="lockup-text"> <span class="lockup-brand"> Google Admin Toolbox</span> </span> </a> <span class="lockup-text"> <span class="tool-label"> Encode/Decode </span> </span> </div> </h1> </span> <div class="mdl-layout-spacer"></div> <div class="toolbox-nav-container "> <nav class="mdl-navigation mdl-layout--large-screen-only"> <a class="mdl-navigation__link" target="_blank" href="//support.google.com/a/answer/2520136#encode">Help</a> </nav> <div id='toolbox-help-dialog' class="mdl-shadow--8dp" style='display:none;'> <div> To encode/decode text: <ul> <li> Paste the text in the input box</li> <li> Select the action you would like to perform</li> <li> Press submit to see the result</li> </ul> </div> </div> </div> </div> </header> <!-- Drawer menu --> <div class="mdl-layout__drawer custom-drawer"> <span class="mdl-layout-title">Google Admin Toolbox</span> <nav class="mdl-navigation"> <a class="mdl-navigation__link " href='/apps/main/'> <i class="drawer-icons material-icons" role="presentation"> home </i> Home</a> <div class="my-drawer-separator"></div> <a class="mdl-navigation__link" href='/apps/browserinfo/'> Browserinfo </a> <a class="mdl-navigation__link" href='/apps/checkmx/'> Check MX </a> <a class="mdl-navigation__link" href='/apps/dig/'> Dig </a> <a class="mdl-navigation__link" href='/apps/har_analyzer/'> HAR Analyzer </a> <a class="mdl-navigation__link" href='/apps/loganalyzer/'> Log Analyzer </a> <a class="mdl-navigation__link" href='/apps/loggershark/'> Log Analyzer 2 </a> <a class="mdl-navigation__link" href='/apps/messageheader/'> Messageheader </a> <a class="mdl-navigation__link" href='/apps/useragent/'> Useragent </a> <a class="mdl-navigation__link" href='/apps/other_tools/'> Additional Tools </a> <a class='active mdl-navigation__link' href='/apps/encode_decode/'> Encode/Decode </a> <a class="mdl-navigation__link" href='/apps/screen_recorder/'> Screen Recorder </a> <div class="my-drawer-separator"></div> <a class='mdl-navigation__link' href="/apps/main/feedback"> <i class="drawer-icons material-icons" role="presentation">feedback</i> Feedback </a> <a class='mdl-navigation__link' href="//www.google.com/intl/en/policies"> <i class="drawer-icons material-icons" role="presentation">info</i> Privacy & Terms </a> <a class="mdl-navigation__link" href="//support.google.com/a/answer/2520136#encode"> <i class="drawer-icons material-icons" role="presentation">help</i> Help </a> </nav> </div> <main class="mdl-layout__content custom-main-content"> <div class="page-content custom-page-content"> <form class="enc-dec-form mdl-shadow--2dp"> <input type="hidden" name="csrfmiddlewaretoken" value="3aSwZsJdxrInytPLX1H5aJj5Ac5kOIs2JAxit9wUjou1WEATzTHlXuZZ6USpm7G8"> <div class="mdl-grid"> <div class="mdl-cell mdl-cell--8-col"> <div class="mdl-textfield mdl-js-textfield" > <textarea name="inputstring" id="enc-dec-input" class="enc-dec-input-box mdl-textfield__input" type="text" ></textarea> <label class="mdl-textfield__label" for="inputstring">Paste the text to encode/decode below</label> </div> </div> <div class="mdl-cell mdl-cell--4-col"> <ul class="enc-dec-actions-list"> <li> <label title="Encode the string in base64. 'hello' will become 'aGVsbG8='. " class="mdl-radio mdl-js-radio mdl-js-ripple-effect" for="option-1"> <input type="radio" name="command" id="option-1" class="mdl-radio__button enc-dec-command" data-command="base64-encode" /> <span class="mdl-radio__label"> Base64 Encode </span> </label> </li> <li> <label title="Decode the base64 string. 'aGVsbG8=' will become 'hello'. " class="mdl-radio mdl-js-radio mdl-js-ripple-effect" for="option-2"> <input type="radio" name="command" id="option-2" class="mdl-radio__button enc-dec-command" data-command="base64-decode" /> <span class="mdl-radio__label"> Base64 Decode </span> </label> </li> <li> <label title="Encode the string in base64 for safe use in URLs: '+' and '/' are not used, trailing padding '=' are stripped. 'hello' will become 'aGVsbG8'. " class="mdl-radio mdl-js-radio mdl-js-ripple-effect" for="option-3"> <input type="radio" name="command" id="option-3" class="mdl-radio__button enc-dec-command" data-command="base64url-encode" /> <span class="mdl-radio__label"> Base64Url Encode </span> </label> </li> <li> <label title="Decode a base64url encoded string." class="mdl-radio mdl-js-radio mdl-js-ripple-effect" for="option-4"> <input type="radio" name="command" id="option-4" class="mdl-radio__button enc-dec-command" data-command="base64url-decode" /> <span class="mdl-radio__label"> Base64Url Decode </span> </label> </li> <li> <label title="Encode the string for safe use as URL argument (percent-encoding). 'catalog#book' will become 'catalog%23book'." class="mdl-radio mdl-js-radio mdl-js-ripple-effect" for="option-5"> <input type="radio" name="command" id="option-5" class="mdl-radio__button enc-dec-command" data-command="url-encode" /> <span class="mdl-radio__label"> URL Encode </span> </label> </li> <li> <label title="Decode the string encoded for safe use as URL argument (percent-decoding). 'catalog%23book' will become 'catalog#book'." class="mdl-radio mdl-js-radio mdl-js-ripple-effect" for="option-6"> <input type="radio" name="command" id="option-6" class="mdl-radio__button enc-dec-command" data-command="url-decode" /> <span class="mdl-radio__label"> URL Decode </span> </label> </li> <li> <label title="Calculates MD5 hash of the string. 'hello' will become '5d41402abc4b2a76b9719d911017c592' " class="mdl-radio mdl-js-radio mdl-js-ripple-effect" for="option-7"> <input type="radio" name="command" id="option-7" class="mdl-radio__button enc-dec-command" data-command="md5" /> <span class="mdl-radio__label"> MD5 Hash </span> </label> </li> <li> <label title="Compress the string and do a base64 encoding on the compressed bytes " class="mdl-radio mdl-js-radio mdl-js-ripple-effect" for="option-8"> <input type="radio" name="command" id="option-8" class="mdl-radio__button enc-dec-command" data-command="saml-encode" /> <span class="mdl-radio__label"> SAML Encode </span> </label> </li> <li> <label title="Decodes an encoded SAML by url decodes, optionally base64 decodes and optionally inflates " class="mdl-radio mdl-js-radio mdl-js-ripple-effect" for="option-9"> <input type="radio" name="command" id="option-9" class="mdl-radio__button enc-dec-command" data-command="saml-decode" /> <span class="mdl-radio__label"> SAML Decode </span> </label> </li> <li> <label title="Parse the user-provided JSON encoded string, and print it back as a multi-line, nicely indented one." class="mdl-radio mdl-js-radio mdl-js-ripple-effect" for="option-10"> <input type="radio" name="command" id="option-10" class="mdl-radio__button enc-dec-command" data-command="pretty-json" /> <span class="mdl-radio__label"> Pretty JSON </span> </label> </li> <li> <label title="Encodes a Quoted-Printable encoded string." class="mdl-radio mdl-js-radio mdl-js-ripple-effect" for="option-11"> <input type="radio" name="command" id="option-11" class="mdl-radio__button enc-dec-command" data-command="quoted-printable-encode" /> <span class="mdl-radio__label"> Quoted-Printable Encode </span> </label> </li> <li> <label title="Decodes a Quoted-Printable encoded string." class="mdl-radio mdl-js-radio mdl-js-ripple-effect" for="option-12"> <input type="radio" name="command" id="option-12" class="mdl-radio__button enc-dec-command" data-command="quoted-printable-decode" /> <span class="mdl-radio__label"> Quoted-Printable Decode </span> </label> </li> <li> <label title="Decodes UTF16 escaped string like '\u30ab\u30ec....' to Human-readable string." class="mdl-radio mdl-js-radio mdl-js-ripple-effect" for="option-13"> <input type="radio" name="command" id="option-13" class="mdl-radio__button enc-dec-command" data-command="utf16-decode" /> <span class="mdl-radio__label"> UTF16 Decode </span> </label> </li> <li> <label title="Decodes a hexadecimal (hex)-encoded string like '48656C6C 6F20576F 726C64' to a human-readable string." class="mdl-radio mdl-js-radio mdl-js-ripple-effect" for="option-14"> <input type="radio" name="command" id="option-14" class="mdl-radio__button enc-dec-command" data-command="hex-decode" /> <span class="mdl-radio__label"> Hex Decode </span> </label> </li> <li> <label title="Decodes a Windows FILETIME number, also used in Active Directory pwdLastSet, to a human-readable date and time." class="mdl-radio mdl-js-radio mdl-js-ripple-effect" for="option-15"> <input type="radio" name="command" id="option-15" class="mdl-radio__button enc-dec-command" data-command="filetime-decode" /> <span class="mdl-radio__label"> pwdLastSet/FILETIME Decode </span> </label> </li> </ul> <select id="enc-dec-output-select" style="visibility:hidden"> </select> <input id="enc-dec-btn" class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--colored enc-dec-submit" type="button" value="Submit" /> </div> </div> </form> <div id="enc-dec-output" class="mdl-cell mdl-cell--12-col"> <pre id="enc-dec-result" class="enc-dec-result" contenteditable="True"></pre> <div id="enc-dec-error" class="enc-dec-error"></div> </div> <div id="enc-dec-enhancedView"> <div class="mdl-grid"> <div id="enc-dec-outputDivTblA" class="mdl-cell mdl-cell--8-col"> <table id="enc-dec-outputTblA"> </table> </div> <div id="enc-dec-outputDivTblB" class="mdl-cell mdl-cell--4-col"> <table id="enc-dec-outputTblB"> </table> </div> </div> </div> <div id="enc-dec-SelectOutput" class="mdl-cell mdl-cell--12-col"> <pre id="enc-dec-SelectError" class="enc-dec-error"></pre> </div> <script> function handleClientLoad() { var main = new encodeDecode.Main(); } window.addEventListener('load', handleClientLoad, { capture: false, once: true }); </script> </div> <div class="cookie-notice mdl-components__warning" id="cookie-notice" style="display:none;"> <p class="cookie-notice"> This site uses cookies from Google to deliver its services and to analyze traffic. </p> <a href="https://policies.google.com/technologies/cookies" class="toolbox-external-link"> Learn more. </a> <button class="mdl-button mdl-button--colored mdl-js-button mdl-js-ripple-effect" id="cookie-notice-ack-button"> Ok, Got it. </button> </div> <footer class="mdl-mini-footer toolbox-footer"> <div class="mdl-mini-footer__left-section"> <ul class="mdl-mini-footer__link-list"> <li><a href='/apps/main/'>Home</a></li> <li><a href="/apps/main/feedback">Feedback</a></li> <li><a href="//www.google.com">Google</a></li> <li><a href="//www.google.com/intl/en/policies">Privacy & Terms</a></li> </ul> </div> <div class="mdl-mini-footer__right-section custom-right-footer"> <div class="sc-locales"> <label> <span>Change language:</span> <select onchange="javascript:switch_language(this);" id="localeselector"> <option value="id" > Bahasa Indonesia </option> <option value="da" > Dansk </option> <option value="de" > Deutsch </option> <option value="en" selected="selected" > English </option> <option value="es" > Español (España) </option> <option value="fil" > Filipino </option> <option value="fr" > Français (France) </option> <option value="it" > Italiano </option> <option value="hu" > Magyar </option> <option value="nl" > Nederlands </option> <option value="no" > Norsk </option> <option value="pl" > Polski </option> <option value="pt-BR" > Português (Brasil) </option> <option value="pt-PT" > Português (Portugal) </option> <option value="fi" > Suomi </option> <option value="sv" > Svenska </option> <option value="vi" > Tiếng Việt </option> <option value="tr" > Türkçe </option> <option value="cs" > Čeština </option> <option value="ru" > Русский </option> <option value="uk" > Українська </option> <option value="hi" > हिन्दी </option> <option value="th" > ภาษาไทย </option> <option value="zh-CN" > 中文 (简体) </option> <option value="zh-TW" > 中文 (繁體) </option> <option value="ja" > 日本語 </option> <option value="ko" > 한국어 </option> </select> </label> </div> </div> </footer> </main> </div> </body> </html>