In this paper we address the transcoding of large complex wired Internet contents on a mobile wireless device. This transcoding problem is known as one of the most key technical barriers in enabling a widespread use of wireless Internet on small portable devices such as WAP-enabled smart phones. As a first step in addressing the issue, we propose the HTML filter that creates WML Decks with hierarchical indexes. The hierarchical structure not only allows a more efficient display on the small display of such devices but also enables an easy and more efficient navigation of the wired Internet contents. In addition, the hierarchical indexes can lead to demand driven transmission of converted WML Decks, which can be quite useful in a low bandwidth wireless environment. We have fully implemented the proposed HTML filter and showed the effectiveness of our approach by showing the conversion results on several commercial websites. The experimentation results suggest that the additional overhead due to the creation of hierarchical indexes is negligible.