Change PDF title in browser window
Asked Answered
M

14

55

I have a pdf file that I am putting on a website for a client. It is located here... http://www.optiphysicaltherapy.com/dev/wp-content/uploads/2014/02/OPTI_NewPatientForms.pdf

The title should be OPTI New Patient Forms but if you look at the tab in the browser and the name at the top of the browser window it says "Coury And..."

Where can I go to change this?

The website is using Wordpress 3.8.1 and I am not sure if it is in Wordpress or in the actual pdf file.

Thank you,

Matt

Merla answered 3/3, 2014 at 1:12 Comment(8)
Its shows the URL for me...Carilyn
It shows the URL in the address bar but at the very top and in the tab in Firefox it shows the Coury and.. text. Doesn't show up in IE or Chrome.Merla
And what is preventing you from changing it?Carilyn
Good question. I don't know where to change it. It is not an HTML based page, it's a pdf. I have never seen a meta title in a pdf and am asking where I can go to change it.Merla
Well first take a look at this wordpress.org/support/topic/changing-title-on-browser-tab and its pretty straight forward. Since Wordpress is in PHP, that's might be why it looks a bit challenging.Carilyn
I honestly don't think that is it. I don't have that name anywhere related to the Wordpress site. I think it is part of the actual pdf. Is there a meta-title setting in pdfs?Merla
The text displayed in the browser tab has nothing to do with the PDF.Carilyn
See, below. If the PDF has a meta-title it will show in Firefox as if it were the meta-title for a webpage. This is only when displaying just the pdf in the browser.Merla
M
29

Ok, So I found out how to change the meta-data in a .pdf form here: http://help.adobe.com/en_US/acrobat/X/pro/using/WS58a04a822e3e50102bd615109794195ff-7c63.w.html (dead link; archived version here)

Sure enough the Title in the Meta Data within the .pdf was "Coury And..."

Once I changed this the Tab and the Title in Firefox web browser changed to have the title that I wanted.

This shows us that the meta-data in the .pdf does show in Firefox as if it were the meta-title of the webpage when displaying a .pdf within the browser.

Merla answered 4/3, 2014 at 2:0 Comment(5)
Appears that Chrome just shows file path, but FireFox uses the Title meta-data tag.Kalakalaazar
That link is now dead. Adobe ceased support of the version in that link.Mangrove
According to this link it's File > Properties.Pheni
Unix-users can use exiftool -Title="This is the Title" drawing.pdf as in this answer.Pheni
Archived version of link at web.archive.org/web/20150929053233/http://help.adobe.com/en_US/…Oligarchy
R
33

Open the PDF with Notepad++ and search (CTRL+F) for /Title Change title between brackets (and leave the brackets) For instance: Change "/Title (OLD TITLE)" into "/Title (This is my new title)"

Save the PDF and Voila

Raney answered 24/10, 2018 at 16:16 Comment(4)
I guess this should be the accepted solution. OS agnostic and works fine. You could use any text editor.Stallworth
Notepad or other code editors didn't work... And Here is a video about it. youtube.com/watch?v=vJw77is-f50Morose
This didn't work for me. I opened my problematic PDF in Notepad++, searched for the string "title" via CTRL+F, and got no matches. Boo! (Judging by one of the few non-gibberish parts of the file as viewed in Notepad++, it looks like this particular PDF may have been created with Google's PDFium. Not sure if that has anything to do with it.) I ended up using Adobe Acrobat Pro to edit the file and solve the problem, as per MattM's accepted answer.Wear
This solution is simple and worked for me.Collapse
M
29

Ok, So I found out how to change the meta-data in a .pdf form here: http://help.adobe.com/en_US/acrobat/X/pro/using/WS58a04a822e3e50102bd615109794195ff-7c63.w.html (dead link; archived version here)

Sure enough the Title in the Meta Data within the .pdf was "Coury And..."

Once I changed this the Tab and the Title in Firefox web browser changed to have the title that I wanted.

This shows us that the meta-data in the .pdf does show in Firefox as if it were the meta-title of the webpage when displaying a .pdf within the browser.

Merla answered 4/3, 2014 at 2:0 Comment(5)
Appears that Chrome just shows file path, but FireFox uses the Title meta-data tag.Kalakalaazar
That link is now dead. Adobe ceased support of the version in that link.Mangrove
According to this link it's File > Properties.Pheni
Unix-users can use exiftool -Title="This is the Title" drawing.pdf as in this answer.Pheni
Archived version of link at web.archive.org/web/20150929053233/http://help.adobe.com/en_US/…Oligarchy
C
26

If you have access to the Word document in which the PDF is based, you can define the title when you save the file.

enter image description here

Courtyard answered 1/2, 2017 at 23:0 Comment(2)
Hi Zachary, what version of MS Word are you seeing this title option? You can now disregard my question. But for those of you that ran into what I ran into, the key is you have to expand the file / save as window to see the title option circled above!Jannelle
@kbr That is Microsoft Word 2013 on windows. Yes, you must "Save-As" to see this dialog.Courtyard
W
14

Whatever was on that link, I did it opening the PDF with a hex editor (HxD) and searching Title, so I found /Title (untitled) somewhere and just edited it (changed the value between parentheses, here untitled).

Won answered 10/6, 2016 at 17:10 Comment(5)
Great answer! You can change it in vim as well. Just do "vim <your_file_name.your_file_extension" and search for title by typing "/Title" and then edit it.Clot
The best (and only valid) answer in my opinion! In the same place where you find the title of the document, you can also edit or add other metadata, such as /Author. Regarding /Title, make sure you are editing the right one, because this attribute can also be used to name entries in the table of contents. The format is pretty intuitive.Jodoin
However, it is wiser to use tools like pdftk, as described there, rather than editing the PDF file by hand. Otherwise you rapidly end up with a corrupted file that some applications refuse to open (believing it has wrong DRM, or whatever).Jodoin
I don't have "title" in my pdf at all.Skeen
Not useful anymore. Acrobat PDF reader says that the file is damaged and cannot be opened after changing.Sweetie
O
8

no need to change in meta of pdf. just to following change in iframe url http://localhost:8080/getDataPDF//?patientId=145. use // to solve this problem it can hide your title.

Ola answered 9/11, 2016 at 14:31 Comment(0)
L
5

Open the PDF document in Adobe Acrobat Pro: (OR use google chrome extension)

  • (1) Go to Select File > Properties

  • (2) Select the Description tab to view the metadata in the document, including the document information dictionary

  • (3) Modify the Title field to add or change the document's Title entry

Lactone answered 4/12, 2017 at 10:42 Comment(4)
- When you open pdf in chrome you can hit print and save as pdf. - As file name write what you want as a title in the browser, it should be the same now.Lactone
If you are using fillable forms, this method will delete the fillable form feature and you will not be able to type in the fields.Cisco
You have copied your answer from w3.org/TR/WCAG20-TECHS/PDF18.html. Do not present the work of others as your own.Derekderelict
@Cisco AgreeLactone
P
3

When you open pdf in chrome you can hit print and save as pdf. As file name write what you want as title in browser, it should be the same now.

Phenica answered 11/6, 2017 at 21:58 Comment(2)
Dont' do this if you have fillable forms -- it will delete the fillable form capability.Cisco
This is misleading, because OP wants to change the metadata field Title, not the file name.Anetteaneurin
D
3

Open File > Properties, then in the box labeled 'Title', add your title. Click on the 'Initial View' tab, where it says Show:, make sure the drop down says 'Document Title' instead of 'File Name'. This works for Chrome, but sadly not IE yet.

Diapositive answered 3/7, 2018 at 14:5 Comment(1)
"Initial View" doesn't exist in the Mac version of Reader. Is there any way to set this flag some other way?Narcho
V
2

For change my pdf tittle I just open it on nano terminal, or with another text editor that open the raw, and I edit the Title field.

Vala answered 4/7, 2018 at 22:3 Comment(1)
Worked for me. I used Notepad++.Avoidance
L
2

The title can be changed inside MS Office or LibreOffice if you have access to the source by going to file/properties/description.

Lister answered 7/5, 2020 at 20:48 Comment(1)
my client present me this problem, and this was the correct awnser later to search for so mucho forums, thanks so much @ListerCalabrese
G
1

As another answer suggested, printing as a PDF works here if you have the source document. What the other answer perhaps got wrong was that there is an option to add a title in the print dialog.

Garfield answered 11/5, 2018 at 10:29 Comment(0)
A
1

I don't know how, why, or when this works, but if you put </Some words at the end of a PDF URL, they show in the tab name (in Chrome 111, at least)

E.g. compare https://arxiv.org/pdf/2003.10555.pdf%3C/Electra and https://arxiv.org/pdf/2003.10555.pdf

Doesn't work for all PDFs, I doubt it works for all browsers, but thought I'd share.

Affixation answered 28/3, 2023 at 4:49 Comment(0)
B
0

You can also use this online pdf editor to change metadata of a pdf file.

Bucksaw answered 2/12, 2022 at 18:19 Comment(0)
C
-1

The title does not come from the pdf. it comes from the word file you export it from. Right click on the word file, go to details. change the title and export again

Good luck

Cecrops answered 19/6, 2018 at 9:1 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.