We consider the entanglement Hamiltonian for an interval in a chain of free fermions in its ground state and show that the lattice expression goes over into the conformal one if one includes the hopping to distant neighbours in the continuum limit. For an infinite chain, this can be done analytically for arbitrary fillings and is shown to be the consequence of the particular structure of the entanglement Hamiltonian, while for finite rings or temperatures the result is based on numerical calculations.