1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[186],{65987:function(e){"use strict";var t={single_source_shortest_paths:function(e,n,r){var o,s,i,l,a,c,d,u={},h={};h[n]=0;var m=t.PriorityQueue.make();for(m.push(n,0);!m.empty();)for(i in s=(o=m.pop()).value,l=o.cost,a=e[s]||{})a.hasOwnProperty(i)&&(c=l+a[i],d=h[i],(void 0===h[i]||d>c)&&(h[i]=c,m.push(i,c),u[i]=s));if(void 0!==r&&void 0===h[r])throw Error(["Could not find a path from ",n," to ",r,"."].join(""));return u},extract_shortest_path_from_predecessor_list:function(e,t){for(var n=[],r=t;r;)n.push(r),e[r],r=e[r];return n.reverse(),n},find_path:function(e,n,r){var o=t.single_source_shortest_paths(e,n,r);return t.extract_shortest_path_from_predecessor_list(o,r)},PriorityQueue:{make:function(e){var n,r=t.PriorityQueue,o={};for(n in e=e||{},r)r.hasOwnProperty(n)&&(o[n]=r[n]);return o.queue=[],o.sorter=e.sorter||r.default_sorter,o},default_sorter:function(e,t){return e.cost-t.cost},push:function(e,t){this.queue.push({value:e,cost:t}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};e.exports=t},47928:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/tools/wifi-qr-code-generator",function(){return n(71945)}])},41300:function(e,t,n){"use strict";n.d(t,{V:function(){return s}});var r=n(85893),o=n(86010);function s(e){let{className:t,heading:n,features:s}=e;return(0,r.jsxs)("section",{className:(0,o.Z)("relative z-0 m-auto h-full w-full items-center overflow-hidden rounded-md border bg-slate-50 text-left p-8",t),children:[(0,r.jsx)("h2",{className:"text-3xl font-bold text-slate-800 mb-10 text-center",children:n}),(0,r.jsx)("div",{className:"flex flex-col md:flex-row justify-between gap-8",children:s.map((e,t)=>(0,r.jsxs)("div",{className:"flex flex-col items-start",children:[(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)("span",{className:"mr-2",children:e.icon}),(0,r.jsx)("h3",{className:"text-xl font-semibold text-slate-800",children:e.heading})]}),(0,r.jsx)("p",{className:"text-slate-600 text-lg mt-2",children:e.text})]},t))})]})}},7753:function(e,t,n){"use strict";n.d(t,{_:function(){return o}});var r=n(85893);function o(e){return(0,r.jsx)("div",{className:"w-full",children:(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center",children:[(0,r.jsx)("h1",{className:"w-full text-4xl font-extrabold text-slate-800 md:text-5xl",children:e.heading}),(0,r.jsx)("h2",{className:"mt-2 w-full text-2xl font-extralight text-slate-600 mmd:text-2xl",children:e.subheading}),(0,r.jsx)("div",{className:"mt-6 w-full font-extralight text-slate-600",children:(0,r.jsx)(()=>e.action,{})})]})})}},26067:function(e,t,n){"use strict";n.d(t,{c:function(){return i}});var r=n(85893),o=n(86010),s=n(67294);function i(e){let t=(0,s.useId)();return(0,r.jsxs)("svg",{className:(0,o.Z)("absolute top-0 right-0 -z-10 h-[100rem] w-[50rem] [mask-image:radial-gradient(100%_100%_at_top_right,white,transparent)]",e.className),"aria-hidden":"true",children:[(0,r.jsx)("defs",{children:(0,r.jsx)("pattern",{id:t,width:e.width??200,height:e.height??200,x:"50%",y:-1,patternUnits:"userSpaceOnUse",children:(0,r.jsx)("path",{d:e.path,fill:"none"})})}),(0,r.jsx)("rect",{width:"100%",height:"100%",strokeWidth:0,fill:`url(#${t})`})]})}},32598:function(e,t,n){"use strict";var r=n(85893),o=n(67294),s=n(92592);t.Z=e=>{let{value:t,size:n=200,level:i="M",includeMargin:l=!1,...a}=e,c=o.useRef(null);return o.useEffect(()=>{c.current&&(0,s.rT)(c.current,t,{width:n,margin:l?4:0,errorCorrectionLevel:i},e=>{e&&console.error("Error generating QR code:",e)})},[t,n,i,l]),(0,r.jsx)("canvas",{ref:c,...a})}},71945:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return g}});var r=n(85893),o=n(67294),s=n(32598),i=n(91819),l=()=>{let[e,t]=(0,o.useState)(""),[n,l]=(0,o.useState)(""),[a,c]=(0,o.useState)("WPA"),[d,u]=(0,o.useState)(!1),[h,m]=(0,o.useState)("https://www.pxl.to"),[x,f]=(0,o.useState)(!1),[g,p]=(0,o.useState)("");return(0,r.jsxs)("div",{className:"w-full flex flex-col md:flex-row bg-blue-50 border rounded-md overflow-hidden",children:[(0,r.jsxs)("div",{className:"w-full md:w-1/2 p-6",children:[(0,r.jsxs)("div",{className:"mb-4",children:[(0,r.jsx)("label",{className:"block text-gray-700 text-sm font-bold mb-2",htmlFor:"ssid",children:"Name of WiFi Network (SSID)"}),(0,r.jsx)("input",{className:"border-gray-300 appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline",id:"ssid",type:"text",value:e,onCh
1ange:e=>t(e.target.value),placeholder:"Enter SSID"})]}),(0,r.jsxs)("div",{className:"mb-4",children:[(0,r.jsx)("label",{className:"block text-gray-700 text-sm font-bold mb-2",htmlFor:"password",children:"Password"}),(0,r.jsx)("input",{className:"border-gray-300 appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline",id:"password",type:"password",value:n,onChange:e=>l(e.target.value),placeholder:"Enter password"})]}),(0,r.jsxs)("div",{className:"mb-4",children:[(0,r.jsx)("label",{className:"block text-gray-700 text-sm font-bold mb-2",htmlFor:"encryption",children:"Encryption"}),(0,r.jsxs)("select",{className:"border-gray-300 appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline",id:"encryption",value:a,onChange:e=>c(e.target.value),children:[(0,r.jsx)("option",{value:"WPA",children:"WPA/WPA2"}),(0,r.jsx)("option",{value:"WEP",children:"WEP"}),(0,r.jsx)("option",{value:"nopass",children:"No Encryption"})]})]}),(0,r.jsx)("div",{className:"mb-6",children:(0,r.jsxs)("label",{className:"flex items-center",children:[(0,r.jsx)("input",{type:"checkbox",className:"form-checkbox",checked:d,onChange:e=>u(e.target.checked)}),(0,r.jsx)("span",{className:"ml-2 text-gray-700 text-sm",children:"Hidden Network"})]})}),g&&(0,r.jsx)("p",{className:"text-red-500 text-md italic mb-4",children:g}),(0,r.jsx)("div",{className:"flex items-center justify-between",children:(0,r.jsx)("button",{className:"bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline w-full",onClick:()=>{if(!e){p("SSID is required");return}p("");try{let t=`WIFI:T:${a};S:${e};P:${n};H:${d?"true":"false"};`;console.log("Generated WiFi string:",t),m(t),f(!0)}catch(e){console.error("Error generating QR code:",e),p("Failed to generate QR code")}},children:"Generate WiFi QR Code"})})]}),(0,r.jsxs)("div",{className:"w-full md:w-1/2 p-6 flex flex-col items-center justify-center bg-blue-50",children:[(0,r.jsx)(s.Z,{id:"wifi-qr-code",value:h,size:300,level:"H",includeMargin:!0}),x&&(0,r.jsxs)("div",{className:"mt-4",children:[(0,r.jsx)("button",{className:"border border-blue-500 text-blue-500 hover:bg-blue-100 font-bold py-2 px-4 rounded mr-2 focus:outline-none focus:shadow-outline transition duration-300",onClick:()=>{try{let t=document.getElementById("wifi-qr-code");if(!t)throw Error("QR code canvas not found");let n=document.createElement("canvas"),r=n.getContext("2d");n.width=600,n.height=700,r.fillStyle="white",r.fillRect(0,0,n.width,n.height);let o=(n.width-500)/2;r.drawImage(t,o,50,500,500),r.font="bold 20px Arial",r.fillStyle="black",r.textAlign="center",r.fillText(e,n.width/2,580),r.font="16px Arial",r.fillStyle="black",r.textAlign="center",r.fillText("Join the WiFi by scanning this QR Code. Created with Pxl.to",n.width/2,610);let s=n.toDataURL("image/png").replace("image/png","image/octet-stream"),i=document.createElement("a");i.href=s,i.download="wifi-qr-code.png",document.body.appendChild(i),i.click(),document.body.removeChild(i)}catch(e){console.error("Error downloading PNG:",e),p("Failed to download PNG")}},children:"Download PNG"}),(0,r.jsx)("button",{className:"border border-blue-500 text-blue-500 hover:bg-blue-100 font-bold py-2 px-4 rounded mr-2 focus:outline-none focus:shadow-outline transition duration-300",onClick:()=>{try{let t=document.getElementById("wifi-qr-code");if(!t)throw Error("QR code canvas not found");let n=t.toDataURL("image/png"),r=new i.jsPDF({orientation:"portrait",unit:"mm",format:"a4"}),o=r.internal.pageSize.getWidth(),s=r.internal.pageSize.getHeight(),l=(o-150)/2,a=(s-150)/2-30;r.addImage(n,"PNG",l,a,150,150),r.setFontSize(25),r.setFont(void 0,"bold"),r.text(e,o/2,a+150+5,{align:"center"}),r.setFontSize(14),r.setFont(void 0,"normal"),r.text("Join the WiFi by scanning this QR Code. Created with Pxl.to",o/2,a+150+20,{align:"center"}),r.save("wifi-qr-code.pdf")}catch(e){console.error("Error downloading PDF:",e),p("Failed to download PDF")}},children:"Download PDF"})]})]})]})},a=n(7753),c=n(26067),d=n(47582),u=n(95649),h=n(41300),m=n(8193);let x=[{icon:(0,r.jsx)(m.AiOutlineQrcode,{className:"text-blue-600 text-lg"}),heading:"Easy WiFi Sharing",text:"Create instant QR codes for your WiFi network, allowing guests to connect with a simple scan. No more spelling out complex passwords or network names."},{icon:(0,r.jsx)(m.AiOutlineSafety,{className:"text-blue-600 text-lg"}),heading:"Enhanced Security",text:"Share your WiFi credentials securely through QR codes. Avoid writing down passwords on paper or sending them via unsecured messages."},{icon:(0,r.jsx)(m.AiOutlineGlobal,{className:"text-blue-600 text-lg"}),heading:"Universal Compatibility",text:"Generate QR codes that work with both Android and iOS devices. Ensure seamless connectivity for all your guests, regardless of their smartphone type."}],f=[{icon:(0,r.jsx)(m.AiOutlineHome,{className:"text-blue-600 text-lg"}),heading:"Home Users",text:"Perfect for households with frequent guests. Create a QR code for your home WiFi and display it prominently, allowing visitors to connect quickly without bothering you for the password."},{icon:(0,r.jsx)(m.AiOutlineShop,{className:"text-blue-600 text-lg"}),heading:"Small Businesses",text:"Ideal for shops, cafes, and small office
1s. Offer convenient WiFi access to customers or clients, enhancing their experience and encouraging longer visits."},{icon:(0,r.jsx)(m.AiOutlineCoffee,{className:"text-blue-600 text-lg"}),heading:"Event Organizers",text:"Essential for conferences, workshops, and events. Provide easy WiFi access to all attendees with a single QR code, streamlining the connection process for large groups."}];function g(){return(0,r.jsx)(d.Z,{contentType:"tool",title:"Free WiFi QR Code Generator",description:"Generate QR codes for your WiFi networks easily. Create custom QR codes that allow quick and secure connections to your WiFi. Download your QR code instantly as PNG or PDF.",image:"/images/wifi-qr-code-og.png",tags:["WiFi QR Code Generator","Free QR Code Generator","Free WiFi QR Code Generator","WiFi Connection Tool","QR Code for WiFi","Easy WiFi Sharing","WiFi Password QR Code","Secure WiFi Sharing","QR Code Generator","WiFi Connection","Generate WiFi QR Code","Simplify WiFi Access"],children:(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)(c.c,{className:"stroke-blue-200",uid:"hero",path:"M.5 200V.5H200"}),(0,r.jsx)(u.W,{className:"max-w-4xl pt-10 text-center sm:pt-12 2xl:pt-20",children:(0,r.jsx)(a._,{heading:(0,r.jsxs)(r.Fragment,{children:["Free ",(0,r.jsx)("img",{src:"/images/logos/wifi.svg",alt:"WiFi logo",className:"inline-block align-baseline h-10"})," ",(0,r.jsx)("span",{className:"text-blue-400",children:"Wifi QR Code"})," Generator"]}),subheading:"Create a WiFi QR code in seconds and share your network instantly, no more typing long and complex passwords."})}),(0,r.jsxs)(u.W,{className:"max-w-4xl mx-auto pb-8 px-4 sm:px-6 lg:px-8",children:[(0,r.jsx)(l,{}),(0,r.jsxs)("section",{className:"relative z-0 m-auto h-full w-full items-center overflow-hidden rounded-md border bg-white text-left p-5 my-6 text-lg",children:[(0,r.jsx)("h2",{className:"font-semibold text-2xl mb-4",children:"How to Use the WiFi QR Code Generator"}),(0,r.jsx)("p",{className:"mb-3",children:"Follow these simple steps to create a QR code for your WiFi network:"}),(0,r.jsxs)("ol",{className:"mb-4 list-decimal ml-8",children:[(0,r.jsxs)("li",{children:["Enter your ",(0,r.jsx)("span",{class:"font-medium",children:"Name of your WiFi network (SSID)"})," in the first field"]}),(0,r.jsxs)("li",{children:["Type your ",(0,r.jsx)("span",{class:"font-medium",children:"WiFi password"})," in the second field (we don't store passwords)"]}),(0,r.jsxs)("li",{children:["Select the ",(0,r.jsx)("span",{class:"font-medium",children:"Encryption type"})," (WPA/WPA2, WEP, or No Encryption) of the network"]}),(0,r.jsxs)("li",{children:["Check the ",(0,r.jsx)("span",{class:"font-medium",children:"Hidden Network"})," box if your WiFi network is hidden"]}),(0,r.jsxs)("li",{children:["Click the ",(0,r.jsx)("span",{class:"font-medium",children:"Generate WiFI QR Code"})," button to create your free WiFi QR code"]}),(0,r.jsx)("li",{children:"Once generated, you can download the QR code as a PNG or PDF file."})]}),(0,r.jsx)("p",{className:"mb-3",children:"The generated QR code can be scanned by most smartphones to quickly connect to your WiFi network without manually entering the password or other network details. The QR code contains your WiFi information. Only share it with people you trust to access your network."}),(0,r.jsx)("p",{children:(0,r.jsxs)("i",{children:["PS: Use Pxl.to to ",(0,r.jsx)("a",{href:"../",className:"text-blue-500",children:"create dynamic QR Codes with your brand name for free"}),". Change the destination of your QR code any time you like. Track every scan & design it to your needs."]})})]})]}),(0,r.jsx)(u.W,{className:"mb-14",children:(0,r.jsx)(h.V,{heading:(0,r.jsxs)(r.Fragment,{children:["What can you do with the ",(0,r.jsx)("img",{src:"/images/logos/wifi.svg",alt:"WiFi logo",className:"inline-block align-baseline h-7 ml-1"})," WiFi QR Code Generator?"]}),features:x})}),(0,r.jsx)(u.W,{className:"mb-14",children:(0,r.jsx)(h.V,{heading:(0,r.jsxs)(r.Fragment,{children:["Who is the ",(0,r.jsx)("img",{src:"/images/logos/wifi.svg",alt:"WiFi logo",className:"inline-block align-baseline h-7 ml-1"})," WiFi QR Code Generator for?"]}),features:f})})]})})}},88357:function(e,t,n){"use strict";n.d(t,{w_:function(){return a},Pd:function(){return s}});var r=n(67294),o={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},s=r.createContext&&r.createContext(o),i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},l=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function a(e){return function(t){return r.createElement(c,i({attr:i({},e.attr)},t),function e(t){return t&&t.map(function(t,n){return r.createElement(t.tag,i({ke
1y:n},t.attr),e(t.child))})}(e.child))}}function c(e){var t=function(t){var n,o=e.attr,s=e.size,a=e.title,c=l(e,["attr","size","title"]),d=s||t.size||"1em";return t.className&&(n=t.className),e.className&&(n=(n?n+" ":"")+e.className),r.createElement("svg",i({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,o,c,{className:n,style:i(i({color:e.color||t.color},t.style),e.style),height:d,width:d,xmlns:"http://www.w3.org/2000/svg"}),a&&r.createElement("title",null,a),e.children)};return void 0!==s?r.createElement(s.Consumer,null,function(e){return t(e)}):t(o)}}},function(e){e.O(0,[617,847,853,592,412,582,774,888,179],function(){return e(e.s=47928)}),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.