PageSourceSearch

https://www.slidesai.io/_next/static/chunks/pages/free-tools/pdf-to-google-slides-0c367531dfdf8e3c.js

js slidesai.io collected 2026-10-01 10:12:46 UTC 38,576 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5614],{24356:function(e,o,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/free-tools/pdf-to-google-slides",function(){return t(95012)}])},28439:function(e,o,t){"use strict";t.d(o,{R:function(){return r}});var l=t(43577);function r({size:e=18}){return(0,l.jsxs)("svg",{width:e,height:e,viewBox:"0 0 18 18","aria-hidden":"true",children:[(0,l.jsx)("path",{fill:"#4285F4",d:"M17.64 9.2c0-.64-.06-1.25-.16-1.84H9v3.48h4.84a4.14 4.14 0 0 1-1.8 2.72v2.26h2.9c1.7-1.56 2.7-3.86 2.7-6.62Z"}),(0,l.jsx)("path",{fill:"#34A853",d:"M9 18c2.43 0 4.47-.8 5.96-2.18l-2.9-2.26c-.8.54-1.83.86-3.06.86-2.35 0-4.35-1.58-5.06-3.7H.96v2.32A9 9 0 0 0 9 18Z"}),(0,l.jsx)("path",{fill:"#FBBC05",d:"M3.94 10.72A5.41 5.41 0 0 1 3.66 9c0-.6.1-1.19.28-1.72V4.96H.96A9 9 0 0 0 0 9c0 1.45.35 2.82.96 4.04l2.98-2.32Z"}),(0,l.jsx)("path",{fill:"#EA4335",d:"M9 3.58c1.32 0 2.5.45 3.42 1.32l2.56-2.56C13.46.9 11.42 0 9 0A9 9 0 0 0 .96 4.96l2.98 2.32c.7-2.12 2.7-3.7 5.06-3.7Z"})]})}},95012:function(e,o,t){"use strict";t.r(o),t.d(o,{__N_SSG:function(){return eo},default:function(){return et}});var l=t(43577),r=t(76473),n=t(5724),s=t(6381),i=t.n(s),a=t(5762),d=t(38867),u=t(99487),c=t(40514),f=t(26050),p=t(57242);let g=p.forwardRef(function(e,o){return p.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:o},e),p.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7 7h.01M7 3h5c.512 0 1.024.195 1.414.586l7 7a2 2 0 010 2.828l-7 7a2 2 0 01-2.828 0l-7-7A1.994 1.994 0 013 12V7a4 4 0 014-4z"}))});var h=t(13246),m=t(67396);let w=p.forwardRef(function(e,o){return p.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:o},e),p.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 7v8a2 2 0 002 2h6M8 7V5a2 2 0 012-2h4.586a1 1 0 01.707.293l4.414 4.414a1 1 0 01.293.707V15a2 2 0 01-2 2h-2M8 7H6a2 2 0 00-2 2v10a2 2 0 002 2h8a2 2 0 002-2v-2"}))}),x=p.forwardRef(function(e,o){return p.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:o},e),p.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 15a4 4 0 004 4h9a5 5 0 10-.1-9.999 5.002 5.002 0 10-9.78 2.096A4.001 4.001 0 003 15z"}))});var v=t(86007),y=t(39230),b=t(48471),S=t(96818),T=t(71935),G=t(40249),j=t(87404),P=t(12585),k=t(78865),N=t(94434),D=t(70056);let _="https://accounts.google.com/gsi/client",E=null,F=null;function C(){let e=window;return e.google?.accounts?.oauth2?Promise.resolve(e.google):F||(F=new Promise((e,o)=>{let t,l=!1,r=document.querySelector(`script[src*="${_}"]`);r?.remove();let n=document.createElement("script");n.src=_,n.async=!0;let s=()=>{l||(l=!0,clearTimeout(t),n.remove(),F=null,o(Error("gis_unavailable")))};n.onload=()=>{if(l)return;let o=window.google;if(!o?.accounts?.oauth2){s();return}l=!0,clearTimeout(t),e(o)},n.onerror=s,document.head.appendChild(n),t=setTimeout(s,1e4)}))}async function A(e){return E&&Date.now()<E.expiresAt?E.value:(E=null,O)?O:O=L(e).finally(()=>{O=null})}let O=null;async function L(e){let o=await C(),t=o.accounts?.oauth2;if(!t)throw Error("gis_unavailable");return new Promise((o,l)=>{let r,n=!1,s=e=>{n||(n=!0,clearTimeout(r),e())},i=t.initTokenClient({client_id:e,scope:"https://www.googleapis.com/auth/drive.file",callback:e=>{if(e.access_token){var t;let l=e.access_token;E={value:l,expiresAt:(t=e.expires_in,Date.now()+Math.max((t??3600)*1e3-3e5,0))},s(()=>o(l));return}s(()=>l(Error("consent_declined")))},error_callback:e=>{s(()=>l(Error(e?.type==="popup_failed_to_open"?"popup_blocked":"consent_declined")))}});r=setTimeout(()=>s(()=>l(Error("token_timeout"))),3e5),i.requestAccessToken()})}var M=t(28439),I=t(75409);let q="100 MB",R="pdf_to_google_slides";async function Z(e){try{return await e.json()}catch{return null}}let B=e=>{if(0===e)return"0 Bytes";let o=Math.floor(Math.log(e)/Math.log(1024));return Math.round(e/Math.pow(1024,o)*100)/100+" "+["Bytes","KB","MB","GB"][o]},U=e=>e.replace(/\.pdf$/i,""),W=()=>(0,l.jsx)("div",{className:"flex h-24 w-24 shrink-0 items-center justify-center rounded-xl bg-red-50 text-red-600",children:(0,l.jsx)("svg",{className:"h-12 w-12",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"})})});function z(){let{t:e}=(0,n.Z)("tools"),[o,t]=(0,p.useState)(null),[r,s]=(0,p.useState)(!1),[i,a]=(0,p.useState)(!1),[d,c]=(0,p.useState)("converting"),[f,g]=(0,p.useState)(null),[h,m]=(0,p.useState)(!1),[w,x]=(0,p.useState)(null),[v,y]=(0,p.useState)(null),[S,T]=(0,p.useState)(!1),[G,_]=(0,p.useState)(!1),F=r||i,O=(0,p.useCallback)(()=>_(null!==E&&Date.now()<E.expiresAt),[]),L="development"===I.env.NEXT_PUBLIC_APP_ENV?(0,j.jq)("main"):(0,j.CG)("main").REAL,z=(0,p.useRef)(null),V=(0,p.useCallback)(()=>{z.current&&(clearTimeout(z.current),z.current=null)},[]);(0,p.useEffect)(()=>V,[V]),(0,p.useEffect)(()=>{o&&(C().catch(()=>{}),O())},[o,O]);let H=(0,p.useMemo)(()=>[e("pdfToGoogleSlides.chips.free",null,{default:"Free to use"}),e("pdfToGoogleSlides.chips.editable",null,{default:"Editable Google Slides"}),e("pdfToGoogleSlides.chips.layouts",null,{default:"Preserves slide layout"}),e("pdfToGoogleSlides.chips.noSignup",null,{default:"No sign-up required"}),e("pdfToGoogleSlides.chips.ready",null,{default:"Ready in seconds"})],[e]),Y=(0,p.useCallback)(o=>o.some(e=>e.errors.some(e=>"file-too-large"===e.code))?e("pdfToGoogleSlides.totalSizeError",{size:q},{default:"File size must be {{size}} or smaller."}):o.some(e=>e.errors.some(e=>"file-invalid-type"===e.code))?e("pdfToGoogleSlides.invalidFileTypeError",null,{default:"Only PDF files are supported."}):e("pdfToGoogleSlides.uploadError",null,{default:"Some files could not be added. Please try again."}),[e]),Q=()=>{y(null),g(null),m(!1),x(null),T(!1)},X=(0,p.useCallback)((e,o)=>{if(o.length>0){y(Y(o));return}Q(),t(e[0]??null)}
1,[Y]),{getRootProps:$,getInputProps:K,isDragActive:J}=(0,k.uI)({onDrop:X,accept:{"application/pdf":[".pdf"]},maxSize:102760448,multiple:!1}),ee=()=>{t(null),Q()},eo=async()=>{if(o){y(null),m(!1),s(!0),(0,D.hs)(u.Z.FREE_TOOL_RUN_STARTED,R,(0,D.Ul)([o]));try{let e=new FormData;e.append("files",o),Object.entries((0,D.RW)()).forEach(([o,t])=>e.append(o,t));let t=await fetch(`${L}/powerpoint/pdf-to-pptx`,{method:"POST",body:e}),l=await Z(t);if(!t.ok||l?.success===!1||!l?.downloadUrl)throw Error(l?.errorMessage??l?.detail??"conversion_failed");g(l.downloadUrl),(0,D.hs)(u.Z.FREE_TOOL_RUN_COMPLETED,R,(0,D.Ul)([o]))}catch(t){y(e("pdfToGoogleSlides.conversionFailed",null,{default:"Conversion failed. Please try again."})),(0,D.hs)(u.Z.FREE_TOOL_RUN_FAILED,R,{...(0,D.Ul)([o]),errorMessage:t instanceof Error?t.message:"unknown"})}finally{s(!1)}}},et=o=>{if(T(!0),o?.errorCode==="invalid_token"){E=null,y(e("pdfToGoogleSlides.invalidToken",null,{default:"Your Google connection expired. Please reconnect your Google account and try again."}));return}if(o?.errorCode==="drive_upload_failed"){o.downloadUrl&&(g(o.downloadUrl),m(!0)),y(e("pdfToGoogleSlides.driveUploadFailed",null,{default:"Your PDF converted, but saving to Google Drive failed. You can download the PPTX instead."}));return}y(o?.detail||o?.message||e("pdfToGoogleSlides.saveFailedGeneric",null,{default:"Couldn't save to Google Slides. Please try again."}))},el=o=>{T(!0);let t=o instanceof Error?o.message:"unknown";y({popup_blocked:e("pdfToGoogleSlides.popupBlocked",null,{default:'Pop-up blocked. Allow pop-ups for this site and try again, or use "Convert to .pptx only" to get a downloadable file instead.'}),consent_declined:e("pdfToGoogleSlides.consentDeclined",null,{default:'Google access is needed to save to Drive. Use "Convert to .pptx only" to get a downloadable file instead.'}),gis_unavailable:e("pdfToGoogleSlides.googleUnavailable",null,{default:'Couldn\'t reach Google. Please try again, or use "Convert to .pptx only" to get a downloadable file instead.'}),token_timeout:e("pdfToGoogleSlides.tokenTimeout",null,{default:'The Google sign-in window timed out. Please try again, or use "Convert to .pptx only" to get a downloadable file instead.'})}[t]||e("pdfToGoogleSlides.saveFailedGeneric",null,{default:"Couldn't save to Google Slides. Please try again."}))},er=async()=>{a(!0),y(null),c("converting"),m(!1),T(!1),V();try{let t=await A((0,P.sd)());if(!o){y(e("pdfToGoogleSlides.saveFailedGeneric",null,{default:"Couldn't save to Google Slides. Please try again."}));return}z.current=setTimeout(()=>c("saving"),12e3),(0,D.hs)(u.Z.FREE_TOOL_RUN_STARTED,R,(0,D.Ul)([o]));let l=new FormData;l.append("files",o),Object.entries((0,D.RW)()).forEach(([e,o])=>l.append(e,o));let r=await fetch(`${L}/powerpoint/pdf-to-google-slides`,{method:"POST",headers:{"X-Google-Access-Token":t},body:l}),n=await Z(r);if(r.ok&&n?.success&&n.fileId){x(`https://docs.google.com/presentation/d/${n.fileId}/edit`),n.downloadUrl&&g(n.downloadUrl),(0,D.hs)(u.Z.FREE_TOOL_RUN_COMPLETED,R,(0,D.Ul)([o])),(0,D.hs)(u.Z.PDF_TO_GOOGLE_SLIDES_DRIVE_SAVE_COMPLETED,R,{});return}et(n),(0,D.hs)(u.Z.FREE_TOOL_RUN_FAILED,R,{...(0,D.Ul)([o]),errorCode:n?.errorCode??"unknown"}),(0,D.hs)(u.Z.PDF_TO_GOOGLE_SLIDES_DRIVE_SAVE_FAILED,R,{errorCode:n?.errorCode??"unknown"})}catch(e){el(e),(0,D.hs)(u.Z.FREE_TOOL_RUN_FAILED,R,{errorMessage:e instanceof Error?e.message:"unknown"}),(0,D.hs)(u.Z.PDF_TO_GOOGLE_SLIDES_DRIVE_SAVE_FAILED,R,{errorMessage:e instanceof Error?e.message:"unknown"})}finally{V(),a(!1),O()}},en=async()=>{f&&((0,D.hs)(u.Z.FREE_TOOL_DOWNLOAD_CLICKED,R,{}),await (0,N.f)(f,"pdfToPpt"))},es=!!(f||w);return(0,l.jsx)(b.W,{className:"pb-12",children:(0,l.jsxs)("div",{className:"mx-auto max-w-4xl",children:[o?(0,l.jsxs)("div",{className:"overflow-hidden rounded-2xl border border-gray-200 bg-white shadow-sm",children:[(0,l.jsx)("div",{className:"border-b border-gray-200 bg-white px-6 py-5",children:(0,l.jsx)("h3",{className:"text-lg font-semibold text-gray-900",children:es?e("pdfToGoogleSlides.convertedFile",null,{default:"Converted file"}):e("pdfToGoogleSlides.fileToConvert",null,{default:"File to convert"})})}),(0,l.jsxs)("div",{className:"relative p-6",children:[(0,l.jsxs)("div",{className:"group flex flex-col gap-4 roun
1ded-xl border border-gray-200 bg-white p-5 shadow-sm md:flex-row md:items-center",children:[(0,l.jsxs)("div",{className:"relative flex-shrink-0",children:[(0,l.jsx)(W,{}),w&&(0,l.jsx)("div",{className:"absolute right-2 top-2 rounded-md bg-green-600 p-1 text-white shadow-sm",children:(0,l.jsx)("svg",{className:"h-4 w-4",fill:"currentColor",viewBox:"0 0 20 20",children:(0,l.jsx)("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})})})]}),(0,l.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,l.jsx)("p",{className:"line-clamp-2 text-base font-semibold text-gray-900",children:U(o.name)}),(0,l.jsx)("div",{className:"mt-3 flex flex-wrap items-center gap-2 text-xs",children:(0,l.jsx)("span",{className:"rounded-md bg-gray-100 px-2.5 py-1 font-medium text-gray-600",children:B(o.size)})})]}),!F&&(0,l.jsx)("button",{onClick:ee,className:"flex-shrink-0 rounded-md p-2 text-gray-400 transition hover:bg-gray-100 hover:text-gray-600","aria-label":e("pdfToGoogleSlides.removeFile",null,{default:"Remove file"}),children:(0,l.jsx)("svg",{className:"h-5 w-5",fill:"currentColor",viewBox:"0 0 20 20",children:(0,l.jsx)("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"})})})]}),F&&(0,l.jsxs)("div",{className:"absolute inset-0 z-10 flex flex-col items-center justify-center rounded-xl bg-white/95 px-6 backdrop-blur-sm",children:[(0,l.jsxs)("div",{className:"mb-4 flex items-center gap-3",children:[(0,l.jsx)("span",{className:"flex aspect-square items-center justify-center rounded-xl bg-primary-100 p-1 text-primary-600",children:(0,l.jsx)("svg",{className:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12"})})}),(0,l.jsx)("p",{className:"text-sm font-semibold text-gray-700",children:r?e("pdfToGoogleSlides.convertingPptxOnly",null,{default:"Converting your PDF to PPTX..."}):"converting"===d?e("pdfToGoogleSlides.convertingPhase",null,{default:"Converting your PDF..."}):e("pdfToGoogleSlides.saving",null,{default:"Saving to Google Drive..."})})]}),(0,l.jsx)("div",{className:"w-72",children:(0,l.jsx)("div",{className:"h-2.5 w-full overflow-hidden rounded-full bg-gray-200",children:(0,l.jsx)("div",{className:"h-full w-2/3 animate-pulse rounded-full bg-primary-600"})})})]})]}),v&&(0,l.jsx)("div",{className:"border-t border-gray-200 bg-red-50 px-6 py-3",children:(0,l.jsx)("p",{className:"text-sm font-medium text-red-600",children:v})}),w&&(0,l.jsx)("div",{className:"border-t border-gray-200 bg-green-50 px-6 py-4",children:(0,l.jsx)("a",{href:w,target:"_blank",rel:"noopener noreferrer",className:"block w-full rounded-md bg-green-600 px-6 py-3 text-center text-base font-semibold text-white shadow-sm transition-colors hover:bg-green-700",children:e("pdfToGoogleSlides.openInSlides",null,{default:"Open in Google Slides"})})}),(0,l.jsxs)("div",{className:"flex flex-col gap-3 border-t border-gray-200 px-6 py-4 sm:flex-row",children:[w?(0,l.jsx)("button",{onClick:ee,disabled:F,className:"flex-1 rounded-md bg-primary-600 px-6 py-3 text-base font-semibold text-white shadow-sm transition-colors hover:bg-primary-700 disabled:cursor-not-allowed disabled:opacity-50",children:e("pdfToGoogleSlides.startOver",null,{default:"Convert Another PDF"})}):(0,l.jsx)("button",{onClick:er,disabled:F,className:G?"flex-1 rounded-md bg-primary-600 px-6 py-3 text-base font-semibold text-white shadow-sm transition-colors hover:bg-primary-700 disabled:cursor-not-allowed disabled:opacity-50":"flex flex-1 items-center justify-center gap-3 rounded-md border border-gray-300 bg-white px-6 py-3 text-base font-semibold text-gray-700 shadow-sm transition-colors hover:bg-gray-50 disabled:cursor-not-allowed disabled:opacity-50",children:G?e("pdfToGoogleSlides.convertAndSave",null,{default:"Convert & Save to Google Slides"}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(M.R,{size:20}),(0,l.jsx)("span",{className:"text-center",children:e("pdfToGoogleSlides.sign
1InWithGoogle",null,{default:"Sign in with Google to save to your Drive"})})]})}),S&&!f&&(0,l.jsx)("button",{onClick:eo,disabled:F,className:"flex-1 rounded-md border border-primary-200 bg-white px-6 py-3 text-base font-semibold text-primary-700 shadow-sm transition-colors hover:border-primary-300 hover:bg-primary-50 disabled:cursor-not-allowed disabled:opacity-50",children:e("pdfToGoogleSlides.convertPptxOnly",null,{default:"Convert to .pptx only"})}),f&&(0,l.jsx)("button",{onClick:en,className:"flex-1 rounded-md border border-primary-200 bg-white px-6 py-3 text-base font-semibold text-primary-700 shadow-sm transition-colors hover:border-primary-300 hover:bg-primary-50",children:h?e("pdfToGoogleSlides.downloadInstead",null,{default:"Download .pptx instead"}):e("pdfToGoogleSlides.download",null,{default:"Download PPTX"})})]})]}):(0,l.jsxs)("div",{...$(),className:`relative rounded-2xl border-2 border-dashed transition-all ${J?"border-primary-500 bg-primary-50":"border-gray-300 bg-white hover:border-primary-400 hover:bg-gray-50"} cursor-pointer p-12 text-center`,children:[(0,l.jsx)("input",{...K()}),(0,l.jsxs)("div",{className:"mx-auto max-w-md space-y-4",children:[(0,l.jsx)("div",{className:"mx-auto flex h-16 w-16 items-center justify-center rounded-full bg-primary-100",children:(0,l.jsx)("svg",{className:"h-8 w-8 text-primary-600",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12"})})}),(0,l.jsxs)("div",{children:[(0,l.jsxs)("p",{className:"text-lg font-semibold text-gray-900",children:[(0,l.jsx)("span",{className:"md:hidden",children:e("pdfToGoogleSlides.tapToUpload",null,{default:"Tap to upload PDF"})}),(0,l.jsx)("span",{className:"hidden md:inline",children:J?e("pdfToGoogleSlides.dropHere",null,{default:"Drop PDF file here"}):e("pdfToGoogleSlides.dragDrop",null,{default:"Drag & drop a PDF file here"})})]}),(0,l.jsx)("p",{className:"mt-1 hidden text-sm text-gray-500 md:block",children:e("pdfToGoogleSlides.orClickBrowse",null,{default:"or click to browse files"})})]}),(0,l.jsxs)("div",{className:"flex items-center justify-center gap-2 text-xs text-gray-400",children:[(0,l.jsx)("span",{children:e("pdfToGoogleSlides.supportedFormats",null,{default:"PDF only"})}),(0,l.jsx)("span",{children:"•"}),(0,l.jsx)("span",{children:e("pdfToGoogleSlides.maxSize",{size:q},{default:"Max {{size}}"})})]}),v&&(0,l.jsx)("p",{className:"text-sm font-medium text-red-600",children:v})]})]}),(0,l.jsx)("div",{className:"mt-12 flex flex-wrap items-center justify-center gap-x-6 gap-y-3",children:H.map(e=>(0,l.jsxs)("div",{className:"flex items-center gap-2 text-sm font-medium text-gray-700",children:[(0,l.jsx)("svg",{className:"h-4 w-4 shrink-0 text-primary-600",fill:"currentColor",viewBox:"0 0 20 20",children:(0,l.jsx)("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,l.jsx)("span",{children:e})]},e))}),(0,l.jsxs)("p",{className:"mx-auto mt-14 max-w-3xl text-center text-xs text-gray-500",children:[e("pdfToGoogleSlides.disclaimerPrefix",null,{default:"Your files will be securely handled by SlidesAI. By using this service, you agree to the"})," ",(0,l.jsx)("a",{className:"font-medium text-gray-600 hover:text-gray-800",href:"/terms-of-use",children:e("pdfToGoogleSlides.terms",null,{default:"Terms of Use"})})," ",e("pdfToGoogleSlides.disclaimerAnd",null,{default:"and"})," ",(0,l.jsx)("a",{className:"font-medium text-gray-600 hover:text-gray-800",href:"/privacy-policy",children:e("pdfToGoogleSlides.privacy",null,{default:"Privacy Policy"})}),"."]})]})})}var V=t(57330),H=t(51109),Y=t(95942),Q=t(75333),X=t(87912),$=t(94817),K=t(10433),J=t(10738);let ee=({className:e})=>(0,l.jsxs)("svg",{className:e,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:[(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M7 3h6l5 5v13H7a2 2 0 01-2-2V5a2 2 0 012-2z"}),(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13 3v5h5M9 13h6M9 17h4"})]});var eo=!0,et=()=>{let{t:e}=(0,n.Z)("tools"),{locale:o}=(0,a.useRouter)(),t=[{href:"/free-tools/pdf-to-ppt",title:e("pdfToPpt.indexTitle",null,{default:"PDF to PPT Converter"}),description:e("pdfToPpt.indexDescription",null,{default:"Convert PDFs into editable PowerPoint presentations with AI while preserving layouts, formatting, and visuals."}),icon:(0,l.jsx)(c.Z,{className:"h-6 w-6"}
1),cta:e("tryNow",null,{default:"Try Now"})},{href:"/free-tools/powerpoint-to-pdf",title:e("pptToPdf.title",null,{default:"PowerPoint to PDF"}),description:e("pptToPdf.description",null,{default:"Convert PowerPoint presentations to PDF files instantly."}),icon:(0,l.jsx)(c.Z,{className:"h-6 w-6"}),cta:e("tryNow",null,{default:"Try Now"})},{href:"/free-tools/word-to-ppt",title:e("wordToPpt.indexTitle",null,{default:"Word to PPT Converter"}),description:e("wordToPpt.indexDescription",null,{default:"Convert Word documents into editable PowerPoint presentations with AI while preserving structure and formatting."}),icon:(0,l.jsx)(c.Z,{className:"h-6 w-6"}),cta:e("tryNow",null,{default:"Try Now"})},{href:"/free-tools",title:e("browseAll.heading",null,{default:"All Free Tools"}),description:e("browseAll.subheading",null,{default:"Browse all free SlidesAI tools for PowerPoint."}),icon:(0,l.jsx)(f.Z,{className:"h-6 w-6"}),cta:e("browseAll.cta",null,{default:"Browse all"})}],s=[{title:e("pdfToGoogleSlides.features.free.title",null,{default:"Free to Use"}),description:e("pdfToGoogleSlides.features.free.description",null,{default:"Convert PDF presentations into editable Google Slides online for free, with no registration or hidden costs."}),icon:(0,l.jsx)(g,{className:"h-6 w-6"})},{title:e("pdfToGoogleSlides.features.fast.title",null,{default:"Convert in Seconds"}),description:e("pdfToGoogleSlides.features.fast.description",null,{default:"Upload your PDF and get an editable Google Slides presentation in just a few clicks, saving you time and effort."}),icon:(0,l.jsx)(h.Z,{className:"h-6 w-6"})},{title:e("pdfToGoogleSlides.features.layout.title",null,{default:"Preserves Layout"}),description:e("pdfToGoogleSlides.features.layout.description",null,{default:"Retains your slide order, text placement, images, and overall presentation structure for a smooth editing experience."}),icon:(0,l.jsx)(m.Z,{className:"h-6 w-6"})},{title:e("pdfToGoogleSlides.features.multiPage.title",null,{default:"Supports Multi-Page PDFs"}),description:e("pdfToGoogleSlides.features.multiPage.description",null,{default:"Convert complete PDF presentations, including multi-slide documents, into Google Slides without splitting files manually."}),icon:(0,l.jsx)(w,{className:"h-6 w-6"})},{title:e("pdfToGoogleSlides.features.noInstall.title",null,{default:"No Installation Required"}),description:e("pdfToGoogleSlides.features.noInstall.description",null,{default:"Convert PDFs to Google Slides directly from your browser without installing software or browser extensions."}),icon:(0,l.jsx)(x,{className:"h-6 w-6"})},{title:e("pdfToGoogleSlides.features.secure.title",null,{default:"Secure & Private"}),description:e("pdfToGoogleSlides.features.secure.description",null,{default:"Your files are securely processed during conversion and automatically removed in accordance with SlidesAI's file retention policy."}),icon:(0,l.jsx)(v.Z,{className:"h-6 w-6"})}],p=[{question:e("pdfToGoogleSlides.faqs.convertQuestion",null,{default:"How do I convert a PDF to Google Slides?"}),answer:e("pdfToGoogleSlides.faqs.convertAnswer",null,{default:"Upload your PDF, click Convert, then click Save to Google Slides. You'll be asked to connect your Google account so the presentation can be created in your Drive, and then it opens straight in Google Slides."})},{question:e("pdfToGoogleSlides.faqs.freeQuestion",null,{default:"Is the PDF to Google Slides converter free to use?"}),answer:e("pdfToGoogleSlides.faqs.freeAnswer",null,{default:"Yes. Converting a PDF to Google Slides is completely free, with no registration and no hidden costs."})},{question:e("pdfToGoogleSlides.faqs.accountQuestion",null,{default:"Do I need to create an account?"}),answer:e("pdfToGoogleSlides.faqs.accountAnswer",null,{default:"You don't need a SlidesAI account. You do sign in with Google when you save the deck, because the presentation is created in your own Google Drive. If you'd rather not connect Google, download the PPTX instead and upload it to Drive yourself."})},{question:e("pdfToGoogleSlides.faqs.installQuestion",null,{default:"Do I need to install any software?"}),answer:e("pdfToGoogleSlides.faqs.installAnswer",null,{default:"No. Everything runs in your browser — there's nothing to install and no extension to add."})},{question:e("pdfToGoogleSlides.faqs.multiPageQuestion",null,{default:"Can I convert a multi-page PDF?"}),answer:e("pdfToGoogleSlides.faqs.multiPageAnswer",null,{default:"Yes. Every page of your PDF becomes a slide, so complete multi-page presentations convert in one go without splitting the file manually."})},{question:e("pdfToGoogleSlides.faqs.layoutQuestion",null,{default:"Does the converter preserve the original layout?"}),answer:e("pdfToGoogleSlides.faqs.layoutAnswer",null,{default:"It keeps your slide order, text placement, images, and overall structure as closely as it can, so the converted deck reads like the original."})},{question:e("pdfToGoogleSlides.faqs.formattingQuestion",null,{default:"Will the formatting stay the same after conversion?"}),answer:e("pdfToGoogleSlides.faqs.formattingAnswer",null,{default:"Fonts, colours, and positioning are carried over wherever possible. Google Slides substitutes any font it doesn't have, so occasional spacing tweaks are worth a quick review."})},{question:e("pdfToGoogleSlides.faqs.tablesQuestion",null,{default:"Will tables, images, and charts be preserved?"}),answer:e("pdfToGoogleSlides.faqs.tablesAnswer",null,{default:"Images and vector graphics carry over. Tables and charts come across as their visual elements rather than as live Google Slides tables or charts, since a PDF no longer holds the underlying data."})},{question:e("pdfToGoogleSlides.faqs.accuracyQuestion",null,{default:"How accurate is the conversion?"}),answer:e("pdfToGoogleSlides.faqs.accuracyAnswer",null,{default:"Accuracy is high for PDFs exported from presentation software, where the text and shapes are still embedded. Heavily designed layouts and unusual fonts may need small adju
1stments after conversion."})},{question:e("pdfToGoogleSlides.faqs.bestTypesQuestion",null,{default:"What types of PDF files work best?"}),answer:e("pdfToGoogleSlides.faqs.bestTypesAnswer",null,{default:"PDFs exported directly from PowerPoint, Google Slides, or Keynote work best, because their text and graphics are still selectable. Scanned or photographed PDFs are images only, so their text won't be editable after conversion."})},{question:e("pdfToGoogleSlides.faqs.powerPointQuestion",null,{default:"Can I convert a PDF created from Microsoft PowerPoint?"}),answer:e("pdfToGoogleSlides.faqs.powerPointAnswer",null,{default:"Yes, and these convert particularly well. A PDF exported from PowerPoint keeps its text and shapes intact, so the resulting Google Slides deck stays close to the original."})},{question:e("pdfToGoogleSlides.faqs.sizeQuestion",null,{default:"What is the maximum PDF file size I can convert?"}),answer:e("pdfToGoogleSlides.faqs.sizeAnswer",null,{default:"You can convert one PDF of up to 100 MB at a time. For anything larger, compress it or split it into sections first."})}];return(0,l.jsxs)("div",{children:[(0,l.jsx)(r.PB,{title:e("pdfToGoogleSlides.seo.title",null,{default:"Free PDF to Google Slides Converter Online | SlidesAI"}),description:e("pdfToGoogleSlides.seo.description",null,{default:"Convert PDF to Google Slides online for free. Turn PDF presentations into editable Google Slides while preserving your content and slide layout."}),openGraph:{title:e("pdfToGoogleSlides.seo.title",null,{default:"Free PDF to Google Slides Converter Online | SlidesAI"}),description:e("pdfToGoogleSlides.seo.description",null,{default:"Convert PDF to Google Slides online for free. Turn PDF presentations into editable Google Slides while preserving your content and slide layout."}),url:(0,$.F5)("/free-tools/pdf-to-google-slides",{locale:o}),type:"website"}}),(0,l.jsx)(y.S,{path:"/free-tools/pdf-to-google-slides"}),(0,l.jsx)(K.D,{graph:J.rB}),(0,l.jsx)(G.h,{}),(0,l.jsxs)("div",{children:[(0,l.jsx)(Y.q,{badge:e("pdfToGoogleSlides.badge",null,{default:"Free Tool"}),heading:e("pdfToGoogleSlides.heading",null,{default:"PDF to Google Slides"}),subheading:e("pdfToGoogleSlides.subheading",null,{default:"Convert any PDF into an editable Google Slides presentation in seconds while preserving your content, layout, and slide structure."}),headingIcon:(0,l.jsx)(ee,{className:"h-8 w-8 md:h-10 md:w-10"}),breadcrumbCurrentLabel:e("pdfToGoogleSlides.heading",null,{default:"PDF to Google Slides"})}),(0,l.jsx)(z,{}),(0,l.jsx)(b.W,{className:"pb-12",children:(0,l.jsxs)("div",{className:"mx-auto flex max-w-4xl flex-col items-center gap-4 roun
1ded-2xl border border-primary-100 bg-primary-50 px-8 py-8 text-center sm:flex-row sm:justify-between sm:text-left",children:[(0,l.jsx)("p",{className:"text-base font-medium text-gray-800",children:e("pdfToGoogleSlides.aiMakerCta.text",null,{default:"Want more than just conversion? Use our AI Google Slides Generator to turn your PDF into a polished, professional presentation in seconds."})}),(0,l.jsx)(i(),{href:"/ai-google-slides-generator",legacyBehavior:!0,children:(0,l.jsx)("a",{onClick:()=>d.ZP.capture(u.Z.PDF_TO_GOOGLE_SLIDES_AI_MAKER_CTA_CLICKED),className:"whitespace-nowrap rounded-md bg-primary-600 px-6 py-3 text-base font-semibold text-white shadow-sm transition-colors hover:bg-primary-700",children:e("pdfToGoogleSlides.aiMakerCta.button",null,{default:"Try Now"})})})]})}),(0,l.jsx)("div",{className:"bg-gray-50",children:(0,l.jsx)(b.W,{className:"py-40",children:(0,l.jsx)(Q.F,{eyebrow:e("pdfToGoogleSlides.stepsEyebrow",null,{default:"How it works"}),title:e("pdfToGoogleSlides.stepsTitle",null,{default:"How to convert a PDF to Google Slides"}),subtitle:e("pdfToGoogleSlides.stepsSubtitle",null,{default:"Turn your PDF into an editable Google Slides presentation in just three simple steps."}),steps:[{step:"1",visual:(0,l.jsx)(X.Is,{fileType:"PDF"}),title:e("pdfToGoogleSlides.steps.upload.title",null,{default:"Upload Your PDF"}),description:e("pdfToGoogleSlides.steps.upload.description",null,{default:"Drag and drop your PDF file into the uploader or click Browse Files to select it from your device."}),icon:(0,l.jsx)(c.Z,{className:"h-6 w-6"})},{step:"2",visual:(0,l.jsx)(X.nm,{from:"PDF",to:"slides"}),title:e("pdfToGoogleSlides.steps.convert.title",null,{default:"Convert to Google Slides"}),description:e("pdfToGoogleSlides.steps.convert.description",null,{default:"Click Convert and let our tool process your PDF while preserving your content and slide layout whenever possible."}),icon:(0,l.jsx)(m.Z,{className:"h-6 w-6"})},{step:"3",visual:(0,l.jsx)(X.YP,{resultType:"slides",label:"Open in Slides"}),title:e("pdfToGoogleSlides.steps.open.title",null,{default:"Open and Edit Your Presentation"}),description:e("pdfToGoogleSlides.steps.open.description",null,{default:"Connect your Google account to save the deck straight to your Drive, then open it in Google Slides to edit text, update visuals, collaborate with your team, or continue enhancing it with AI."}),icon:(0,l.jsx)(f.Z,{className:"h-6 w-6"})}]})})}),(0,l.jsxs)("div",{className:"bg-white",children:[(0,l.jsx)("div",{className:"bg-gradient-to-b from-gray-50 via-gray-50 to-white",children:(0,l.jsx)(b.W,{className:"py-40",children:(0,l.jsx)(V.J,{eyebrow:e("pdfToGoogleSlides.benefitsEyebrow",null,{default:"Why use it"}),title:e("pdfToGoogleSlides.benefitsTitle",null,{default:"Why Use SlidesAI's PDF to Google Slides Converter"}),subtitle:e("pdfToGoogleSlides.benefitsSubtitle",null,{default:"Our free PDF to Google Slides converter helps you transform PDF presentations into editable Google Slides online while preserving your content and presentation flow."}),cards:s})})}),(0,l.jsx)("div",{className:"bg-gradient-to-b from-gray-50 via-gray-50 to-white",children:(0,l.jsx)(b.W,{className:"py-40",children:(0,l.jsx)(V.J,{eyebrow:e("pdfToGoogleSlides.otherToolsEyebrow",null,{default:"Other tools"}),title:e("pdfToGoogleSlides.otherToolsTitle",null,{default:"Explore More Free Presentation Tools from SlidesAI"}),subtitle:e("pdfToGoogleSlides.otherToolsSubtitle",null,{default:"Discover more free SlidesAI tools to convert, edit, compress, summarize, and manage your presentation files with ease."}),cards:t,gridClassName:"mt-24 grid justify-items-center gap-10 md:grid-cols-2 lg:grid-cols-3",cardClassName:"group w-full max-w-xl rounded-xl border border-gray-200 bg-white p-8 shadow-sm transition-all hover:border-primary-200 hover:shadow-md"})})})]})]}),(0,l.jsx)("div",{className:"py-40",children:(0,l.jsx)(H.I,{title:e("pdfToGoogleSlides.faqs.title",null,{default:"Frequently asked questions"}),description:e("pdfToGoogleSlides.faqs.subtitle",null,{default:"Quick answers about converting PDF files into editable Google Slides presentations."}),faqs:p})}),(0,l.jsx)(S.Z,{utmSource:"free-tools-pdf-to-google-slides"}),(0,l.jsx)(T.$,{})]})}},94434:function(e,o,t){"use strict";t.d(o,{f:function(){return u}});let l="application/vnd.openxmlformats-officedocument.presentationml.presentation",r=new Set(["application/zip","application/x-zip-compressed"]),n="text/plain",s={compress:[l,...Array.from(r)],merge:[l,...Array.from(r)],pdf:["application/pdf",...Array.from(r)],pdfToPpt:[l,...Array.from(r)],wordToPpt:[l,...Array.from(r)],htmlToPpt:[l,...Array.from(r)],word:["application/vnd.openxmlformats-officedocument.wordprocessingml.document",...Array.from(r)],text:[n,...Array.from(r)],notes:[n,...Array.from(r)],split:[...Array.from(r)]},i=(e,o)=>{let t=e.split(";")[0].trim().toLowerCase();return s[o].includes(t)},a=e=>{try{let{hostname:o}=new URL(e);return o.endsWith(".r2.cloudflarestorage.com")||o.endsWith(".r2.dev")}catch{return!1}},d=(e,o="unavailable")=>{let t=new URLSearchParams({reason:o,tool:e});return`/free-tools/download-expired?${t.toString()}`},u=async(e,o)=>{try{let t=await fetch(e,{method:"GET",headers:{Range:"bytes=0-0"}}),l=t.headers.get("content-type")||"";if(!a(e)||!t.ok&&206!==t.status||!i(l,o)){window.open(d(o),"_blank","noopener");return}window.open(e,"_blank","noopener")}catch{window.open(d(o),"_blank","noopener")}}},26050:function(e,o,t){"use strict";var l=t(57242);let r=l.forwardRef(function(e,o){return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:o},e),l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10"}))});o.Z=r},40514:function(e,o,t){"use strict";var l=t(57242);let r=l.forwardRef(function(e,o){return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:o},e),l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 10v6m0 0l-3-3m3 3l3-3m2 8H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"}))});o.Z=r},86007:function(e,o,t){"use strict";var l=t(57242);let r=l.forwardRef(function(e,o){return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:o},e),l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z"}))});o.Z=r},67396:function(e,o,t){"use strict";var l=t(57242);let r=l.forwardRef(function(e,o){return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:o},e),l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 13v-1m4 1v-3m4 3V8M8 21l4-4 4 4M3 4h18M4 4h16v12a1 1 0 01-1 1H5a1 1 0 01-1-1V4z"}))});o.Z=r},41499:function(e,o,t){"use strict";t.d(o,{Jh:function(){return a},ZT:function(){return r},_T:function(){return s},ev:function(){return d},mG:function(){return i},pi:function(){return n}});var l=function(e,o){return(l=Object.setPrototypeOf||({__proto__:[]}
1)instanceof Array&&function(e,o){e.__proto__=o}||function(e,o){for(var t in o)Object.prototype.hasOwnProperty.call(o,t)&&(e[t]=o[t])})(e,o)};function r(e,o){if("function"!=typeof o&&null!==o)throw TypeError("Class extends value "+String(o)+" is not a constructor or null");function t(){this.constructor=e}l(e,o),e.prototype=null===o?Object.create(o):(t.prototype=o.prototype,new t)}var n=function(){return(n=Object.assign||function(e){for(var o,t=1,l=arguments.length;t<l;t++)for(var r in o=arguments[t])Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r]);return e}).apply(this,arguments)};function s(e,o){var t={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>o.indexOf(l)&&(t[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,l=Object.getOwnPropertySymbols(e);r<l.length;r++)0>o.indexOf(l[r])&&Object.prototype.propertyIsEnumerable.call(e,l[r])&&(t[l[r]]=e[l[r]]);return t}function i(e,o,t,l){return new(t||(t=Promise))(function(r,n){function s(e){try{a(l.next(e))}catch(e){n(e)}}function i(e){try{a(l.throw(e))}catch(e){n(e)}}function a(e){var o;e.done?r(e.value):((o=e.value)instanceof t?o:new t(function(e){e(o)})).then(s,i)}a((l=l.apply(e,o||[])).next())})}function a(e,o){var t,l,r,n={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]},s=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return s.next=i(0),s.throw=i(1),s.return=i(2),"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function i(i){return function(a){return function(i){if(t)throw TypeError("Generator is already executing.");for(;s&&(s=0,i[0]&&(n=0)),n;)try{if(t=1,l&&(r=2&i[0]?l.return:i[0]?l.throw||((r=l.return)&&r.call(l),0):l.next)&&!(r=r.call(l,i[1])).done)return r;switch(l=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return n.label++,{value:i[1],done:!1};case 5:n.label++,l=i[1],i=[0];continue;case 7:i=n.ops.pop(),n.trys.pop();continue;default:if(!(r=(r=n.trys).length>0&&r[r.length-1])&&(6===i[0]||2===i[0])){n=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){n.label=i[1];break}if(6===i[0]&&n.label<r[1]){n.label=r[1],r=i;break}if(r&&n.label<r[2]){n.label=r[2],n.ops.push(i);break}r[2]&&n.ops.pop(),n.trys.pop();continue}i=o.call(e,n)}catch(e){i=[6,e],l=0}finally{t=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}}function d(e,o,t){if(t||2==arguments.length)for(var l,r=0,n=o.length;r<n;r++)!l&&r in o||(l||(l=Array.prototype.slice.call(o,0,r)),l[r]=o[r]);return e.concat(l||Array.prototype.slice.call(o))}"function"==typeof SuppressedError&&SuppressedError}},function(e){e.O(0,[9859,4034,6381,9423,8683,5435,9167,8980,249,1935,6818,5962,7881,2888,9774,179],function(){return e(e.s=24356)}),_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.