How to Create Google Docs Direct Link Generator Tool in Blogger ?

How to Create Google Docs Direct Link Generator Tool in Blogger ?
Please wait 0 seconds...
Scroll Down and click on Go to Link for destination
Congrats! Link is Generated

Hello everyone, In this post, I'll show you how to use Blogger to make a Google Docs Direct Link Generator tool. I told you how to make this tool and gave you the script for it. You don't have to use Blogger to make this tool. I made this tool simple, responsive, and easy to use.

How to Create Google Docs Direct Link Generator Tool in Blogger ?


Below is a link to this tool's demo, and you can also look at the demo. You can find out more about the Google Docs Direct Link Generator Tool by reading this post all the way to the end.


What is Google Docs?

A google doc’s direct link is a download URL link of any document created by Google Documents online. Once anyone hit this URL, it starts downloading the file instead of opening it in the browser. To get this URL use Google Docs Direct Download Link Generator.


Why use the Google Docs Direct download link generator tool?

Problems in using a general URL instead of a direct downloadable URL?

The problem is when you share any file from your google documents. The URL opens inside the browser and shows the content of the documents. And if you want to download it then download it manually.

Click manually if using a general URL to download the file.

  • If the user wants to download the file then he/she needs to click on the download button manually.
  • Google docs direct link generator gives you the option of generating the link for different fire formats.
  • Google docs direct link generator creates a direct download link in no time.

How to use the docs direct download link generator?

It’s very simple to get a docs direct link using our direct download link generator tool.
  1. Get your doc file share URL(must be publicly shared). [Scroll down for help]
  2. Paste the URL link in the input box above as shown in the image below.
  3. Hurrah! you get the direct download link in the output text box.

Google Docs Direct Link Generator Tool For Blogger :-

Step 1 :- First Login Your Blogger Account.
Step 2 :- Then Select The Posts or Pages Menu.
Step 3 :- Then Create a New Post or Page.

Note :- Add Your Post or Page Title And Description According To You Need.

Step 4 :- After Click on Html View.
Step 5 :- Then Copy And Paste The Tool Script Code Given Below.


	
	
   <!--Google Docs Direct Link Generator Tool  CSS By www.bloggerxpose.com-->
<style type="text/css">
#stm-gdrive-form{background-color:#fff;text-align:center;margin:auto;padding:20px 28px;border:none;border-radius:6px;box-shadow:0 0 8px 0 rgba(0,0,0,.08);width:100%;display:block;}
@media all and (max-width:576px){#stm-gdrive-form{padding:24px 28px;}}
#stm-gdrive-form .stm-gdrive-group{margin-bottom:1rem;}
.stm-gdrive-group label{display:inline-block;margin-bottom:10px;font-size:14px;margin-top:5px;}
#stm-gdrive-form input.stm-tools-control{display:block;width:100%;height:calc(1.7em + .75rem + 2px);padding:.375rem .75rem;font-size:14px;font-weight:400;line-height:1.1;color:#495057;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;border-radius:6px;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;}
#stm-gdrive-form .stm-gdrive-group button{color:#fff;background:#ff830f;line-height:20px;border:none;border-radius:6px;margin:12px 0;padding:10px 15px;font-size:13px;font-weight:400;text-decoration:none;max-width:320px;}

/* Dark Mode Css */
.drK #stm-gdrive-form{background:#333;color:#f6f6f6;}
.drK #stm-gdrive-form input.stm-tools-control{background:#444;color:#f6f6f6;border:1px solid #666;}
</style>



      
        <div class="container">

            <div class="container">
              <!--Google Docs Direct Link Generator Tool  html By www.bloggerxpose.com-->
                <!--<center>
                    <div id="ez-toc-container" class="ez-toc-v2_0_39 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction">
<div class="ez-toc-title-container">
<p class="ez-toc-title">Table of Contents</p>
<span class="ez-toc-title-toggle"><a href="#" class="ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle" area-label="ez-toc-toggle-icon-1"><label for="item-638c6698cda49" aria-label="Table of Content"><span style="display: flex;align-items: center;width: 35px;height: 30px;justify-content: center;direction:ltr;"><svg style="fill: #999;color:#999" xmlns="http://www.w3.org/2000/svg" class="list-377408" width="20px" height="20px" viewBox="0 0 24 24" fill="none"><path d="M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z" fill="currentColor"></path></svg><svg style="fill: #999;color:#999" class="arrow-unsorted-368013" xmlns="http://www.w3.org/2000/svg" width="10px" height="10px" viewBox="0 0 24 24" version="1.2" baseProfile="tiny"><path d="M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z"/></svg></span></label><input type="checkbox" id="item-638c6698cda49"></a></span></div>
<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class="ez-toc-link ez-toc-heading-1" href="#Google_Docs_Direct_Download_Link_Generator" title="Google Docs Direct Download Link Generator">Google Docs Direct Download Link Generator</a></li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class="ez-toc-link ez-toc-heading-2" href="#Google_Docs_Direct_Download_Link_GeneratorExplained" title="Google Docs Direct Download Link Generator[Explained]">Google Docs Direct Download Link Generator[Explained]</a></li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class="ez-toc-link ez-toc-heading-3" href="#What_is_the_Google_Doc_Direct_link" title="What is the Google Doc Direct link?">What is the Google Doc Direct link?</a></li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class="ez-toc-link ez-toc-heading-4" href="#Why_use_the_Google_Docs_Direct_download_link_generator_tool" title="Why use the Google Docs Direct download link generator tool?">Why use the Google Docs Direct download link generator tool?</a><ul class='ez-toc-list-level-5'><li class='ez-toc-heading-level-5'><ul class='ez-toc-list-level-5'><li class='ez-toc-heading-level-5'><a class="ez-toc-link ez-toc-heading-5" href="#Problems_in_using_a_general_URL_instead_of_a_direct_downloadable_URL" title="Problems in using a general URL instead of a direct downloadable URL?">Problems in using a general URL instead of a direct downloadable URL?</a><ul class='ez-toc-list-level-6'><li class='ez-toc-heading-level-6'><a class="ez-toc-link ez-toc-heading-6" href="#Click_manually_if_using_a_general_URL_to_download_the_file" title="Click manually if using a general URL to download the file.">Click manually if using a general URL to download the file.</a></li></ul></li><li class='ez-toc-page-1 ez-toc-heading-level-5'><a class="ez-toc-link ez-toc-heading-7" href="#Solution" title="Solution:">Solution:</a></li></ul></li></ul></li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class="ez-toc-link ez-toc-heading-8" href="#How_to_use_the_docs_direct_download_link_generator" title="How to use the docs direct download link generator?">How to use the docs direct download link generator?</a></li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class="ez-toc-link ez-toc-heading-9" href="#How_to_get_the_Google_docs_file_share_link" title="How to get the Google docs file share link?">How to get the Google docs file share link?</a></li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class="ez-toc-link ez-toc-heading-10" href="#Limitations_of_Google_docs_direct_download_link_generator_tool" title="Limitations of Google docs direct download link generator tool">Limitations of Google docs direct download link generator tool</a></li></ul></nav></div>
<h3><span class="ez-toc-section" id="Google_Docs_Direct_Download_Link_Generator"></span>Google Docs Direct Download Link Generator<span class="ez-toc-section-end"></span></h3>
                </center>
                <hr>-->
                <form id="stm-gdrive-form">
   <div class="stm-gdrive-group">
                    <!--Drive link input-->
                    <label id="inputTextLabel"> Google Docs file link (Shared publicly) </label>
                    <input id="inputText" name="inputText" onfocus="setInputTextBackgroundColor()" type="text" />

                    <!--Drive link generator-->
                    <input class="clearBtn" id="driveLinkGenerator" onclick="openDriveLinkGenerator()" style="display: none;" type="button" value="Drive download link generator" />

                    <label>Choose Document Format:</label><br />
                    <select id="docFormat" name="docFormat" onchange="generateDirectLink();">
                        <option value="docx">Microsoft Word(.docx)</option>
                        <option value="odt">OpenDocument Format(.odt)</option>
                        <option value="rtf">Rich Text Format(.rtf)</option>
                        <option value="pdf">PDF Document(.pdf)</option>
                        <option value="txt">Plain Text(.txt)</option>
                        <option value="html">Webpage(.html, zipped)</option>
                        <option value="epub">EPUB Publication(.epub)</option>
                    </select><br />
                    <!--Output-->
                    <label id="outputLable"> Output </label>
                    <textarea cols="80" id="outputTextArea" rows="3" value="Output"></textarea></div><div class="stm-gdrive-group"><span style="font-family: monospace;"><span style="font-size: 13.3333px; white-space: pre-wrap;"><br /></span></span>

                    <center>
                        <div>
                            <!--copy field-->
                            <input class="clearBtn" id="copyBtn" name="copyBtn" onclick="copyOutput()" style="display: none;" type="button" value="Copy" />
                            <!--download button-->
                            <input class="clearBtn" id="downloadBtn" name="downloadBtn" onclick="downloadFile()" style="display: none;" type="button" value="Download" />
                            <!--clear button-->
                            <input class="clearBtn" id="clear" onclick="clearField()" type="button" value="Clear" />
                        </div>
                    </center>
                </div></form>
            </div>
          
          <!--Google Docs Direct Link Generator Tool Script By www.bloggerxpose.com-->
            <script>
const _0x37c236=_0x507a;(function(_0x156686,_0x57399f){const _0x1466c3=_0x507a,_0x35a544=_0x156686();while(!![]){try{const _0xf28981=parseInt(_0x1466c3(0x98))/0x1+-parseInt(_0x1466c3(0xc5))/0x2+-parseInt(_0x1466c3(0xb9))/0x3*(-parseInt(_0x1466c3(0xa6))/0x4)+-parseInt(_0x1466c3(0xba))/0x5*(parseInt(_0x1466c3(0xb7))/0x6)+-parseInt(_0x1466c3(0xc3))/0x7+parseInt(_0x1466c3(0xae))/0x8+parseInt(_0x1466c3(0xab))/0x9*(parseInt(_0x1466c3(0xc4))/0xa);if(_0xf28981===_0x57399f)break;else _0x35a544['push'](_0x35a544['shift']());}catch(_0x10673b){_0x35a544['push'](_0x35a544['shift']());}}}(_0x3cd1,0xa7e22));var directDownloadLink='';let inputText=document[_0x37c236(0x9e)](_0x37c236(0xa3)),outputText=document[_0x37c236(0x9e)](_0x37c236(0x9b)),copyBtn=document[_0x37c236(0x9e)](_0x37c236(0xbc)),downloadBtn=document[_0x37c236(0x9e)](_0x37c236(0xa1)),driveLinkGenerator=document[_0x37c236(0x9e)]('driveLinkGenerator'),driveLinkGeneratorUrl=_0x37c236(0xc6);/Android|webOS|iPhone|iPad|iPod|BlackBerry/i[_0x37c236(0xb3)](navigator[_0x37c236(0x9d)])&&(window[_0x37c236(0xb8)]=function(){const _0x406d65=_0x37c236;let _0x2fc92a=inputText['value'],_0x4def8a=_0x2fc92a[_0x406d65(0xb1)];inputText[_0x406d65(0xb4)](_0x406d65(0x99),function(){const _0x7724b5=_0x406d65;let _0x101a4d=this[_0x7724b5(0xb6)][_0x7724b5(0xb1)],_0x2f1028=_0x101a4d-_0x4def8a;_0x2f1028>0x1&&generateDirectLink();}),apiInputText['addEventListener'](_0x406d65(0x99),function(){const _0x3d22a0=_0x406d65;let _0x55b898=this[_0x3d22a0(0xb6)][_0x3d22a0(0xb1)],_0x324bbc=_0x55b898-_0x4def8a;_0x324bbc>0x1&&generateDirectLink();});});inputText[_0x37c236(0xa4)]=generateDirectLink;function _0x507a(_0x3bcb9b,_0x51f2ea){const _0x3cd12c=_0x3cd1();return _0x507a=function(_0x507a4a,_0x28ec4e){_0x507a4a=_0x507a4a-0x98;let _0x4d8977=_0x3cd12c[_0x507a4a];return _0x4d8977;},_0x507a(_0x3bcb9b,_0x51f2ea);}function _0x3cd1(){const _0x1abd60=['style','455968mUrRFZ','inline-block','none','length','<b>Please\x20use\x20Google\x20Drive\x20Download\x20link\x20generator!:</b>','test','addEventListener','copy','value','3696hBBVtd','onload','93hPlbdJ','9880MxruaR','innerHTML','copyBtn','https://drive.google.com/file/d/','_blank','open','display','Nothing\x20to\x20copy:','/export?format=','293944iSPTvP','2152870vOHauF','2032400lAevzI','https://earningdesire.com/google-drive-direct-link-generator/','innerText','873006blhMBg','input','#000000','outputTextArea','focus','userAgent','getElementById','startsWith','#FF0000','downloadBtn','Direct\x20Download\x20link\x20text\x20copied','inputText','onkeyup','<b>Please\x20enter\x20a\x20valid\x20Google\x20doc\x20file\x20link:</b>','95656XFOOtx','inputTextLabel','black','setSelectionRange','color','54esPrJO','https://docs.google.com/document/d/'];_0x3cd1=function(){return _0x1abd60;};return _0x3cd1();}function generateDirectLink(){const _0x50eb48=_0x37c236;if(inputText[_0x50eb48(0xb6)]==''){document[_0x50eb48(0x9e)](_0x50eb48(0xa7))[_0x50eb48(0xad)][_0x50eb48(0xaa)]='#FF0000';return;}if(inputText[_0x50eb48(0xb6)]['startsWith']('https://drive.google.com/file/d/')){document[_0x50eb48(0x9e)]('inputTextLabel')[_0x50eb48(0xad)]['color']='#FF0000',document[_0x50eb48(0x9e)](_0x50eb48(0xa7))['innerHTML']=_0x50eb48(0xb2),driveLinkGenerator[_0x50eb48(0xad)]['display']=_0x50eb48(0xaf);return;}else driveLinkGenerator[_0x50eb48(0xad)][_0x50eb48(0xc0)]=_0x50eb48(0xb0);if(!inputText[_0x50eb48(0xb6)][_0x50eb48(0x9f)](_0x50eb48(0xac))&&!inputText[_0x50eb48(0xb6)][_0x50eb48(0x9f)](_0x50eb48(0xbd))){document[_0x50eb48(0x9e)](_0x50eb48(0xa7))[_0x50eb48(0xad)][_0x50eb48(0xaa)]=_0x50eb48(0xa0),document[_0x50eb48(0x9e)](_0x50eb48(0xa7))[_0x50eb48(0xbb)]=_0x50eb48(0xa5);return;}let _0x44672b=document['querySelector']('#docFormat'),_0x5a1a0d=_0x44672b[_0x50eb48(0xb6)],_0x4474bd=inputText[_0x50eb48(0xb6)];directDownloadLink=_0x50eb48(0xac)+_0x4474bd['split']('/')[0x5]+_0x50eb48(0xc2)+_0x5a1a0d,outputText['value']=directDownloadLink,showHideButtons();}function showHideButtons(){const _0x4b5cd8=_0x37c236;outputText[_0x4b5cd8(0xb6)]!=''?(copyBtn['style']['display']=_0x4b5cd8(0xaf),downloadBtn[_0x4b5cd8(0xad)]['display']=_0x4b5cd8(0xaf)):(copyBtn[_0x4b5cd8(0xad)]['display']=_0x4b5cd8(0xb0),downloadBtn[_0x4b5cd8(0xad)][_0x4b5cd8(0xc0)]=_0x4b5cd8(0xb0));}function downloadFile(){const _0x243bb4=_0x37c236;window[_0x243bb4(0xbf)](outputText[_0x243bb4(0xb6)],'_blank');}function openDriveLinkGenerator(){const _0x1e1f35=_0x37c236;window[_0x1e1f35(0xbf)](driveLinkGeneratorUrl,_0x1e1f35(0xbe));}function copyOutput(){const _0x2cd05a=_0x37c236;if(outputText[_0x2cd05a(0xb6)]==''){alert(_0x2cd05a(0xc1));return;}outputText['select'](),outputText[_0x2cd05a(0xa9)](0x0,0x1869f),document['execCommand'](_0x2cd05a(0xb5)),alert(_0x2cd05a(0xa2));}function clearField(){const _0x421b2e=_0x37c236;outputText[_0x421b2e(0xb6)]='',inputText['value']='',driveLinkGenerator['style'][_0x421b2e(0xc0)]=_0x421b2e(0xb0),copyBtn[_0x421b2e(0xad)][_0x421b2e(0xc0)]=_0x421b2e(0xb0),downloadBtn[_0x421b2e(0xad)][_0x421b2e(0xc0)]=_0x421b2e(0xb0),document[_0x421b2e(0x9e)](_0x421b2e(0xa7))[_0x421b2e(0xad)]['color']=_0x421b2e(0x9a),document[_0x421b2e(0x9e)]('inputTextLabel')[_0x421b2e(0xbb)]='<b>Google\x20Docs\x20link\x20(Shared\x20publicly):</b>';}function setInputTextBackgroundColor(){const _0x15cb4b=_0x37c236;document[_0x15cb4b(0x9e)](_0x15cb4b(0xa7))[_0x15cb4b(0xad)][_0x15cb4b(0xaa)]=_0x15cb4b(0xa8),document[_0x15cb4b(0x9e)](_0x15cb4b(0xa7))[_0x15cb4b(0xc7)]='Enter\x20valid\x20google\x20doc\x20file\x20link:',inputText[_0x15cb4b(0x9c)]();}            </script>

        </div>
    

		
Step 6 :- Finally, Publish Your Post or Pages and See The Result.

إرسال تعليق

Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
Site is Blocked
Sorry! This site is not available in your country.