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

    <schemaVersion>X0303</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2010-08-10</periodOfReport>

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

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001230604</rptOwnerCik>
            <rptOwnerName>SZEWS CHARLES L</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>OSHKOSH CORPORATION</rptOwnerStreet1>
            <rptOwnerStreet2>2307 OREGON STREET</rptOwnerStreet2>
            <rptOwnerCity>OSHKOSH</rptOwnerCity>
            <rptOwnerState>WI</rptOwnerState>
            <rptOwnerZipCode>54902</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>2010-08-10</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>6.3</value>
                    <footnoteId id="F2"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>48.8413</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <exerciseDate>
                <footnoteId id="F3"/>
            </exerciseDate>
            <expirationDate>
                <footnoteId id="F3"/>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>6.3</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>6148.4</value>
                    <footnoteId id="F4"/>
                </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">Each unit was credited for the dividend equivalent as of the dividend record date pursuant to the Company's Phantom Stock Plan for Outside Directors (&quot;Phantom Plan&quot;).</footnote>
        <footnote id="F3">Pursuant to the Phantom Plan, 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 (unless otherwise elected by the director in accordance with the terms of the Phantom Plan).</footnote>
        <footnote id="F4">Cumulative phantom stock units accumulated by director during his Board tenure.</footnote>
    </footnotes>

    <remarks>Brent A. Walters, Attorney-in-fact for Charles L. Szews, pursuant to Power of Attorney dated November 13, 2009 and filed with the SEC on January 5, 2010.</remarks>

    <ownerSignature>
        <signatureName>/s/Brent A. Walters, Attorney-in-fact</signatureName>
        <signatureDate>2010-08-11</signatureDate>
    </ownerSignature>
</ownershipDocument>
