<?xml version="1.0"?>
<ownershipDocument>

    <schemaVersion>X0303</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2009-12-31</periodOfReport>

    <issuer>
        <issuerCik>0000916459</issuerCik>
        <issuerName>GARDNER DENVER INC</issuerName>
        <issuerTradingSymbol>GDI</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001191933</rptOwnerCik>
            <rptOwnerName>SCHUMACHER DIANE K</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>GARDNER DENVER, INC.</rptOwnerStreet1>
            <rptOwnerStreet2>1800 GARDNER EXPRESSWAY</rptOwnerStreet2>
            <rptOwnerCity>QUINCY</rptOwnerCity>
            <rptOwnerState>IL</rptOwnerState>
            <rptOwnerZipCode>62305</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>1</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
        </reportingOwnerRelationship>
    </reportingOwner>

    <derivativeTable>
        <derivativeTransaction>
            <securityTitle>
                <value>Phantom Stk Units</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <footnoteId id="F1"/>
            </conversionOrExercisePrice>
            <transactionDate>
                <value>2009-12-31</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>43.6</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>40.18</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <exerciseDate>
                <footnoteId id="F2"/>
            </exerciseDate>
            <expirationDate>
                <footnoteId id="F2"/>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>43.6</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>3975.3</value>
                    <footnoteId id="F3"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value></value>
                </natureOfOwnership>
            </ownershipNature>
        </derivativeTransaction>
    </derivativeTable>

    <footnotes>
        <footnote id="F1">The security converts to common stock on a one-for-one basis.</footnote>
        <footnote id="F2">The cash value of these units will be distributed to the director or beneficiary on the first day of the month following the date upon which the director ceases to be a director of the Company for any reason, (or in no more than twelve installments beginning on the aforementioned date) pursuant to the Company's Phantom Stock Plan for Outside Directors.</footnote>
        <footnote id="F3">Cumulative phantom stock units accumulated by director during her Board tenure.</footnote>
    </footnotes>

    <remarks>Diana C. Toman, Attorney-in-fact for Diane K. Schumacher, pursuant to Power of Attorney dated November 12, 2009 and filed with the SEC on January 5, 2010.</remarks>

    <ownerSignature>
        <signatureName>/s/Diana C. Toman, Attorney-in-fact</signatureName>
        <signatureDate>2010-01-05</signatureDate>
    </ownerSignature>
</ownershipDocument>
