Excel to PDF

Turn Excel and CSV files into clean PDFs. Keep your colours, borders and merged cells, fit wide sheets on the page, repeat header rows, add page numbers and a watermark, and protect the PDF with a password. Your files never leave your browser.

1Add your files
Drop Excel files here or click to browse. XLSX, XLS, XLSM, ODS, CSV and TSV work.
2Choose the sheets
Your files and their sheets will appear here.
3Set up the pages

Fit-to-width never goes below 40%. Sheets that would be smaller are split across pages instead, so text stays readable.

Restrictions use standard PDF protection. Some PDF programs do not enforce them.

4Convert and download
0 sheets selected
Your PDFs will appear here.
Preview
'; models.forEach((m,k)=>{const sc=O.sm==='fit'?'':'';h+=''+(O.st?'

'+esc(m.name)+'

':'')+''+m.cw.map(w=>'').join('')+''; m.grid.forEach((row,ri)=>{h+='';row.forEach(o=>{if(!o)return;const st=o.st,css=[];css.push('border:'+lw+'px solid #bbb');if(st){if(st.fill)css.push('background:'+st.fill);if(st.col)css.push('color:'+st.col);if(st.b)css.push('font-weight:700');if(st.i)css.push('font-style:italic');if(st.sz)css.push('font-size:'+st.sz*.9+'px');css.push('text-align:'+(st.ha&&st.ha!=='general'?(st.ha==='centerContinuous'?'center':st.ha):(o.t==='n'||o.t==='d'?'right':'left')));Object.keys(st.bd).forEach(k=>css.push('border-'+k+':'+Math.max(.5,st.bd[k].w)+'px solid '+st.bd[k].c))}else if(o.t==='n'||o.t==='d')css.push('text-align:right');h+='1?' colspan="'+o.span.cs+'"':'')+(o.span&&o.span.rs>1?' rowspan="'+o.span.rs+'"':'')+' style="'+css.join(';')+'">'+esc(o.text)+''});h+=''});h+='
'}); return h+''} $('pb').onclick=async function(){const O=opts(),sel=S.files.filter(f=>f.status==='ok'&&f.sheets.some(s=>s.sel));if(!sel.length)return;this.disabled=true;$('stt').textContent='Preparing the print view…';try{const ms=[];for(const f of sel)for(const sh of f.sheets.filter(s=>s.sel)){const m=await model(f,sh,O);if(m)ms.push(m)}if(!ms.length)throw new Error('The selected sheets have no data to print.');const fr=document.createElement('iframe');fr.style.cssText='position:fixed;right:0;bottom:0;width:0;height:0;border:0';document.body.appendChild(fr);fr.contentDocument.open();fr.contentDocument.write(printHtml(ms,O));fr.contentDocument.close();setTimeout(()=>{fr.contentWindow.focus();fr.contentWindow.print();$('stt').textContent='In the print window, choose "Save as PDF" as the destination.';setTimeout(()=>fr.remove(),60000)},400)}catch(e){$('stt').textContent=e.message}this.disabled=false}; function draw(){const fl=$('fl'); fl.innerHTML=S.files.length?S.files.map(f=>{if(f.status==='reading')return '
'+esc(f.file.name)+' Reading…
';if(f.status==='error')return '
'+esc(f.file.name)+'
'+esc(f.err)+'
'; return '
'+esc(f.file.name)+' '+fs(f.file.size)+' · '+f.sheets.length+' sheet'+(f.sheets.length>1?'s':'')+'
'+f.sheets.map((s,i)=>'').join('')+'
'}).join(''):'
Your files and their sheets will appear here.
'; fl.querySelectorAll('.sn').forEach(e=>{const cb=e.parentNode.querySelector('input');if(!cb)return;const f=S.files.find(x=>x.id==cb.dataset.f);if(f)e.textContent=f.sheets[+cb.dataset.s].name}); let n=0;S.files.forEach(f=>{if(f.status==='ok')f.sheets.forEach(s=>{if(s.sel)n++})});$('cnt').textContent=n+' sheet'+(n===1?'':'s')+' selected'; $('go').disabled=!n;$('pb').disabled=!n;$('clr').disabled=!S.files.length;$('zip').disabled=S.out.filter(o=>o.blob).length<2; $('list').innerHTML=S.out.length?S.out.map((o,i)=>o.err?'
'+esc(o.err)+'
':'
'+o.pages+' page'+(o.pages>1?'s':'')+' · '+fs(o.blob.size)+' · '+esc(o.from)+'
'+o.warn.map(w=>'
'+esc(w)+'
').join('')+'
').join(''):'
Your PDFs will appear here.
'; $('list').querySelectorAll('.nm').forEach((e,i)=>{e.textContent=S.out[i].name})} $('fl').onclick=e=>{const x=e.target.closest('[data-x]'),a=e.target.closest('[data-all]'),nn=e.target.closest('[data-none]');if(x){S.files=S.files.filter(f=>f.id!=x.dataset.x);S.out=[];draw()}else if(a){const f=S.files.find(q=>q.id==a.dataset.all);f.sheets.forEach(s=>{if(!s.empty)s.sel=true});draw()}else if(nn){const f=S.files.find(q=>q.id==nn.dataset.none);f.sheets.forEach(s=>s.sel=false);draw()}}; $('fl').onchange=e=>{const c=e.target;if(c.dataset.f){const f=S.files.find(q=>q.id==c.dataset.f);f.sheets[+c.dataset.s].sel=c.checked;draw()}}; function save(b,n){const a=document.createElement('a');a.href=URL.createObjectURL(b);a.download=n;document.body.appendChild(a);a.click();setTimeout(()=>a.remove(),500)} $('list').onclick=e=>{const d=e.target.closest('[data-d]'),p=e.target.closest('[data-p]');if(d){const o=S.out[+d.dataset.d];if(o&&o.blob)save(o.blob,o.name)}else if(p){const o=S.out[+p.dataset.p];if(o&&o.url){$('pvf').src=o.url;$('pvt').textContent=o.name+' · '+o.pages+' page'+(o.pages>1?'s':'');$('pv').classList.remove('hide');$('pv').scrollIntoView({behavior:'smooth',block:'center'})}}}; $('pvx').onclick=()=>{$('pv').classList.add('hide');$('pvf').src='about:blank'}; $('zip').onclick=async()=>{const d=S.out.filter(o=>o.blob);if(!d.length)return;try{const Z=await lib('zip'),z=new Z(),u={};d.forEach(o=>{let n=o.name;if(u[n]){const k=u[n]++;n=n.replace(/(\.[^.]+)$/,'-'+k+'$1')}else u[n]=1;z.file(n,o.blob)});save(await z.generateAsync({type:'blob'}),'excel-to-pdf.zip')}catch(e){alert(e.message)}}; $('go').onclick=convert;$('clr').onclick=()=>{S.files=[];S.out=[];$('stt').textContent='';draw()}; $('tabs').onclick=e=>{const b=e.target.closest('[data-t]');if(!b)return;$('tabs').querySelectorAll('.tab').forEach(x=>x.classList.toggle('on',x===b));document.querySelectorAll('#wxp .pn').forEach(p=>p.classList.toggle('on',p.id==='p-'+b.dataset.t))}; const ui=()=>{$('o-sc').classList.toggle('hide',$('sm').value!=='cus');$('o-gl').classList.toggle('hide',$('ts').value!=='xl')};$('sm').onchange=ui;$('ts').onchange=ui;ui(); const dz=$('dz');dz.onclick=()=>$('fi').click();dz.onkeydown=e=>{if(e.key==='Enter'||e.key===' '){e.preventDefault();$('fi').click()}}; $('fi').onchange=function(){addFiles(this.files);this.value=''}; ['dragenter','dragover'].forEach(t=>dz.addEventListener(t,e=>{e.preventDefault();dz.classList.add('on')}));['dragleave','drop'].forEach(t=>dz.addEventListener(t,e=>{e.preventDefault();dz.classList.remove('on')})); dz.addEventListener('drop',e=>addFiles(e.dataTransfer.files)); document.addEventListener('keydown',e=>{if(e.ctrlKey&&e.key==='Enter'&&!$('go').disabled){e.preventDefault();convert()}}); draw(); })();
fxTo turn Excel into PDF, add your file above, tick the sheets you want, choose how to fit them on the page, and press Convert to PDF. Your colours, merged cells and borders are kept, and nothing is uploaded to a server.

Convert in four steps

The tool reads your spreadsheet in your browser, lets you choose what goes into the PDF, and builds the PDF on your own device.

  1. Add your files. Drop in XLSX, XLS, XLSM, ODS, CSV or TSV files. You can add several at once.
  2. Choose the sheets. Each file shows its sheets with their sizes. Untick any you do not need. Hidden sheets are off by default, and empty ones cannot be selected.
  3. Set up the pages. Pick the paper size, orientation, margins and how the sheet should fit. The other tabs hold table style, header and footer, security and output options.
  4. Convert and download. Press Convert to PDF, look at the preview, then download one PDF or a ZIP of several.

Why Excel sheets break when they become PDFs

An Excel sheet has no edges. It can be as wide and as long as you like. A PDF is made of fixed pages, so something has to decide where each page ends. If nobody decides, a wide sheet is simply cut off, and the last columns land on a second page that nobody expects.

A wide sheet at full size compared with fit to page width At 100 percent, a table with eight columns is cut across two pages. With fit to page width, all eight columns fit on one page. Page 1Page 2 At 100%, the last columns spill onto a second page One page Fit all columns on the page width

The same table, before and after choosing a fit option.

Pick the right fit

The Scaling setting on the Page tab is the most important one. It has four modes.

The four scaling modes Fit to width shrinks the table to the page width. Fit on one page shrinks it until the whole sheet is on one page. Actual size keeps the table at 100 percent and it continues onto more pages. Custom percentage lets you choose the size. Fit to widthFit on one pageActual sizeCustom % all columns, as manypages as needed downthe whole sheeton one page100%, wide sheets aresplit across pagesyou choose the size,20% to 200%
ModeChoose it when
Fit all columns on the page widthMost of the time. Reports, invoices and lists that are wider than a page but can run to several pages long.
Fit each sheet on one pageA small summary, a dashboard table or a timetable that must be seen on a single page. The tool shrinks it until it fits, down to a limit.
Actual sizeLarge data tables where text must stay readable. Wide sheets are split into column groups across pages.
Custom percentageYou know the size you want, from 20 to 200 percent.
Readability guard. Fit-to-width never goes below 40 percent. A sheet that would need to be smaller is split across pages instead, so text never becomes too tiny to read.

Orientation can stay on Automatic. The tool picks landscape for wide sheets and portrait for narrow ones, separately for every sheet. Paper sizes are A4, A3, A5, Letter, Legal and Tabloid.

Keep your formatting

With Keep Excel formatting chosen on the Table tab, an XLSX file keeps its look in the PDF. Numbers and dates appear exactly as Excel shows them, such as currency symbols, percentages and date styles.

What is kept from the Excel sheet An Excel sheet with a merged title, a coloured header row, borders, right-aligned numbers and a highlighted total row appears the same in the PDF. Excel sheetPDF page Sales report (merged cells) ItemQtyTotal Notebook12$ 48.00Pencil40$ 20.00Folder8$ 16.00 Total$ 84.00 Sales report (merged cells) ItemQtyTotal Notebook12$ 48.00Pencil40$ 20.00Folder8$ 16.00 Total$ 84.00 Fills, bold text, merged cells, borders, alignment and column widths carry over.

Kept

  • Cell fill colours and text colours
  • Bold and italic text, and font sizes
  • Merged cells
  • Borders and their thickness
  • Alignment (left, centre, right, top, middle, bottom)
  • Column widths and row heights
  • Number, date, currency and percent formats
  • The values that formulas produce

Not included

  • Charts, pictures, shapes and text boxes
  • Conditional formatting colours and data bars
  • Pivot table styles, comments and notes
  • Mixed formatting inside one cell
  • Excel's own print areas, page breaks, headers and footers
  • Fonts beyond Helvetica, Times and Courier styles

Full formatting comes from XLSX and XLSM files. XLS, ODS and CSV files keep their values, merged cells and column widths, and use the table style you choose, such as the clean green header. If a file looks plain, save it as XLSX in Excel and try again.

Long tables and wide tables

Real spreadsheets run to many pages. Two settings make those pages easier to read.

A header row repeated on every page Three pages of a long table, each starting with the same coloured header row, and each with a page number in the footer. NameQtyTotalNameQtyTotalNameQtyTotal Page 1 of 3Page 2 of 3Page 3 of 3

The header repeats at the top of each page, and the footer numbers the pages.

  • Repeat header rows. Set how many top rows (0 to 5) should repeat on every page. The default is one.
  • Repeat the first column. When a wide sheet is split into column groups across pages, tick this so the first column, such as a name or an ID, appears on every page.
  • Skip empty rows and columns at the edges. This removes blank margins around your data, which helps avoid blank pages.
  • Skip hidden rows and columns. Anything you hid in Excel stays hidden in the PDF. Untick it to include them.
  • Long text. Choose between wrapping it onto more lines, or cutting it off with an ellipsis (…) to keep every row one line high.

Make it look professional

The Header, footer tab turns a data dump into a finished document. You can add a centred header, a left footer such as "Confidential", and page numbers in the form "Page 2 of 7" at the bottom left, centre or right. A watermark, such as DRAFT, is drawn across every page in a light colour that you can strengthen or fade.

On the Table tab, Clean, green header, Striped and Plain grid give any sheet a tidy, consistent look when it has no formatting of its own. Show the sheet name above each table adds a heading, which helps when you combine many sheets.

DocumentGood settings
Invoice or quoteA4, Portrait, Fit all columns on the page width, Keep Excel formatting, page numbers at the bottom right.
Wide reportA4 or A3, Landscape, Fit to width, repeat 1 header row, a footer text and page numbers.
Price listA4, Portrait, Striped or Clean green header, repeat the header row, Wrap long text.
Large data exportA3 Landscape, Actual size, repeat the header row and the first column.
Timetable or scheduleA4 Landscape, Fit each sheet on one page, no sheet name title.
Draft for reviewAny layout, a DRAFT watermark, and printing allowed but editing disabled.

Protect the PDF

On the Security tab, you can set a password to open the PDF, and also switch off printing, copying text or editing. Leave the password empty if you only want the restrictions.

Be realistic. Opening a PDF with a password is strong protection, so choose a long one and do not lose it. Restrictions such as "do not allow copying" are only requests. Some PDF programs ignore them, so do not rely on them for secrets.

Need a strong password? Use the Password Generator.

Many sheets, many files

You can tick sheets from several files at once. By default each file becomes its own PDF, and you can download them one by one or as a ZIP. Tick Merge all selected sheets and files into one PDF on the Output tab to get a single document, with every sheet starting on a new page and the page numbers running through the whole file.

The File name field uses {name} for the original file name, so you can add a prefix or suffix to every PDF. You can also set the PDF's title and author, which show up in PDF viewers.

Sheets in other languages

The built-in PDF fonts cover the Latin alphabet, which includes English, French, Spanish, German, Portuguese, Italian and many more. They cannot draw Urdu, Arabic, Hindi, Chinese, Japanese, Korean or other scripts. If your sheet contains those, the converter replaces the unsupported characters with a question mark and warns you.

Which button to use for your language If your sheet uses Latin letters, use Convert to PDF. If it uses Urdu, Arabic, Hindi, Chinese or other scripts, use Print with browser and choose Save as PDF. What does your sheet use? Latin lettersEnglish, French, Spanish, German… Other scriptsUrdu, Arabic, Hindi, Chinese, Japanese… Convert to PDFtext you can select and search Print with browserthen choose "Save as PDF"

The Print with browser button builds a print view of your selected sheets and opens your browser's print window. Choose Save as PDF as the destination. Your browser's own fonts draw the text, so every language works. This route uses simpler styling, and your browser's print settings decide the page layout.

Troubleshooting

ProblemWhat to try
Columns are cut off or on a second pageSet Scaling to "Fit all columns on the page width" and Orientation to Automatic or Landscape.
The text is too smallUse Landscape or a bigger paper size such as A3, or switch to Actual size and let wide sheets split.
Question marks appear in the textThe sheet has non-Latin characters. Use Print with browser and save as PDF.
Colours and borders are missingMake sure the file is XLSX or XLSM and Table style is "Keep Excel formatting". Other file types use the table styles instead.
There are blank pagesKeep "Skip empty rows and columns at the edges" ticked.
Hidden columns show upTick "Skip hidden rows and columns".
Rows are too tallSet Long text to "Cut off with …".
An image or chart is missingPictures and charts are not included. Copy them into another tool, or print them from Excel.
It stops at some rowsVery long sheets are limited to the first 30,000 rows. Split the sheet in Excel for more.

What this tool cannot do

  • It converts cell data and basic styles. It is not a copy of Excel's print engine, so charts, images, conditional formatting and print areas are left out.
  • Text is Latin only in the main converter. Other languages need Print with browser.
  • Full styling needs XLSX or XLSM. Other file types keep values and layout only.
  • Very large sheets are limited. Up to 30,000 rows per sheet are converted, and extremely large sheets skip the styling step to save memory.
  • Fonts are standard. Calibri, Arial and others are drawn with a similar built-in font, so the line breaks may differ slightly from Excel.
  • Right-to-left sheets are not supported in the main converter.
  • The inline preview depends on your browser. If it does not appear, download the file and open it.

Your files stay on your device

Your spreadsheet is read and converted inside your browser. It is not uploaded to our servers. The page loads a few helper libraries from a public CDN when needed: one reads spreadsheets, one reads cell styles, one builds the PDF and its tables, and one makes ZIP files. They are code, and they never receive your data.

Questions people ask

Is this Excel to PDF converter free?

Yes. There is no signup, no watermark unless you add one yourself, and no limit on how many files you convert. The site may show ads to cover its costs.

Are my files uploaded?

No. Files are converted in your browser and are not sent to our servers.

How do I convert Excel to PDF without losing formatting?

Use an XLSX file, keep the Table style on "Keep Excel formatting", and set Scaling to "Fit all columns on the page width". Colours, borders, merged cells and number formats carry over.

How do I fit an Excel sheet on one page?

Set Scaling to "Fit each sheet on one page". The tool shrinks the sheet until it fits, down to a limit that keeps it readable.

Can I convert only one sheet?

Yes. Each file lists its sheets with checkboxes. Tick only the ones you want.

Can I convert a CSV file to PDF?

Yes. CSV and TSV files are supported. They have no formatting of their own, so choose a table style such as Clean, green header.

Can I password protect the PDF?

Yes. Enter a password on the Security tab to require it when opening. You can also turn off printing, copying and editing, although some PDF programs ignore those restrictions.

Why do some characters appear as question marks?

The main converter uses standard PDF fonts that cover the Latin alphabet only. For Urdu, Arabic, Chinese and other scripts, use Print with browser and choose Save as PDF.

Does it keep charts and images?

No. Only cell data and basic styles are converted. Charts, pictures and shapes are not included.

Can I merge several Excel files into one PDF?

Yes. Add the files, tick the sheets you want, and tick "Merge all selected sheets and files into one PDF" on the Output tab.

Waqas Amjad

Hi, I’m Waqas, the person behind Brivonto. I started this site because I wanted online tools that simply work, without sign-ups or watermarks. I build each tool myself and keep improving them based on your feedback. Questions or feedback?

Get in touch.