Fix a Missing Hyphen When Copying Text from an InDesign PDF
Question details
The user needs a URL hyphen to remain intact when text is copied from a PDF generated by InDesign.

- Product
- Adobe InDesign and Adobe Acrobat Pro
- Device & OS
- not provided
- Scenario
- A URL containing a visible hard hyphen is exported from an InDesign document to PDF and then copied.
- Observed behavior
- The hyphen disappears when the URL is copied from the PDF, but it is preserved when the PDF is exported to Word.
Open the original InDesign document and the exported PDF. Identify the exact URL and compare the source text with what appears when you paste the copied PDF text into a plain-text editor.
Check the source character and re-export the InDesign PDF
Use this approach to investigate why the visible hyphen is not included in copied text.
A character can appear correctly on the page while the PDF's text mapping produces a different result when copied. Exporting the PDF to Word may interpret the text differently, so it does not necessarily confirm that direct copying will work.
In InDesign, select the hyphen in the URL and check it against the intended address. If the address requires a standard hyphen-minus, replace the character with the regular hyphen on your keyboard.
Choose File > Export and select Adobe PDF (Print). Review the PDF preset and the Advanced font-subsetting settings; also review tagging and accessibility options if they are needed for the document.
Export a new PDF, open it in Acrobat, select the URL, and copy and paste it into a plain-text editor. Compare the pasted address character by character with the intended URL.
If the hyphen is still missing, change the URL to another font in InDesign, export another test PDF, and repeat the copy-and-paste check.

Add a clickable URL in InDesign
Use a hyperlink when readers need to open the correct address without depending on copied text.
Create a PDF with a clickable URL in WPS Writer
Use WPS Writer to create a document with an explicit hyperlink, then export it to PDF and test the link. This provides a clickable alternative but does not repair the original InDesign PDF's text mapping.
- 1. Open a document: Open WPS Writer and create a document or open an existing Word file.
- 2. Insert the hyperlink: Select the text to link, choose Insert > Hyperlink, and enter the complete URL, including its hyphen.
- 3. Export to PDF: Choose Menu > Export to PDF and save the PDF.
- 4. Test the link: Open the exported PDF and click the hyperlink to confirm that it reaches the intended address.

Frequently Asked Questions
Why can I see the hyphen in the PDF but not copy it?
The PDF may display the glyph correctly while its text mapping or character encoding causes the copied text to differ. Check the source character and test a new export with another font.
Does exporting the PDF to Word fix the original PDF?
No. Exporting to Word can preserve the hyphen in the converted document, but it does not change the text mapping in the original PDF.
How can I make the URL usable even if copying fails?
In InDesign, select the URL text and use Window > Interactive > Hyperlinks to add the full destination address. Export the PDF with hyperlinks included, then click the link to test it.
Should I replace the hyphen in the InDesign document?
First compare the source character with the intended URL. If the URL requires a standard hyphen-minus, replace the existing character with a regular keyboard hyphen and test a new PDF export.




