XML 12 R1.htm IDEA: XBRL DOCUMENT v3.7.0.1
Document And Entity Information - shares
6 Months Ended
Jun. 30, 2017
Aug. 01, 2017
Document Information [Line Items]    
Entity Registrant Name UFP TECHNOLOGIES INC  
Entity Central Index Key 0000914156  
Trading Symbol ufpt  
Current Fiscal Year End Date --12-31  
Entity Filer Category Accelerated Filer  
Entity Current Reporting Status Yes  
Entity Voluntary Filers No  
Entity Well-known Seasoned Issuer No  
Entity Common Stock, Shares Outstanding (in shares)   7,267,662
Document Type 10-Q  
Document Period End Date Jun. 30, 2017  
Document Fiscal Year Focus 2017  
Document Fiscal Period Focus Q2  
Amendment Flag false