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

    <schemaVersion>X0303</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2010-09-30</periodOfReport>

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

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001130145</rptOwnerCik>
            <rptOwnerName>BARGER DONALD G JR</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>2010-09-30</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>400.9</value>
                    <footnoteId id="F2"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>51.13</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>400.9</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>19239</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">These phantom stock units were credited under the Company's Phantom Stock Plan for Outside Directors (the &quot;Phantom Plan&quot;) as a result of an election by the reporting person to defer compensation.</footnote>
        <footnote id="F3">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 Donald G. Barger, pursuant to Power of Attorney dated November 12, 2009 and filed with the SEC on January 5, 2010.</remarks>

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