Converting Text file to HTML file

Discussion in 'OS X Yosemite (10.10)' started by Siron, Sep 15, 2016.

  1. Siron macrumors 6502

    Siron

    Joined:
    Feb 4, 2008
    Location:
    North Carolina
    #1
    I have some text files that I need to convert to an HTML file to post on my website. It needs to retain the proper paragraphs titles, and underlines etc.
    Can anyone recommend a converter either free or paid?
    Thanks
    Alan
     
  2. BrianBaughn macrumors 603

    BrianBaughn

    Joined:
    Feb 13, 2011
    Location:
    Baltimore, Maryland
    #2
    Try this: Open the text file with TextEdit, hold down the Option key and select File>Save As and select File Format "Web Page (.html)".
     
  3. Siron thread starter macrumors 6502

    Siron

    Joined:
    Feb 4, 2008
    Location:
    North Carolina
    #4
    Brian
    I am aware that I can see the HTML code in TextEdit but I have a TXT file that needs converting and if I simply make it an HTML file there are no paragraph, underline, capitals, bold, etc., formatting. It's just one long paragraph.
    Alan
    --- Post Merged, Sep 16, 2016 ---
    Thanks for the link. Do you know if there is a Pages to HTML editor?
    Alan
     
  4. BrianBaughn macrumors 603

    BrianBaughn

    Joined:
    Feb 13, 2011
    Location:
    Baltimore, Maryland
    #5
    If it's a plain text file you can use the menu item Format>Make Rich Text in TextEdit before saving as a Web Page.
     

Share This Page