RubyDoc script
File type: Source code and script file
Files with the .rdoc file extension are RubyDoc scripts or documentation source files written in RDoc markup. RubyDoc uses them to create HTML documentation.
File type category:
Source code and script file
Date updated: October 6, 2026
The .rdoc file extension is mainly related to RubyDoc and used for one of its script files.
RubyDoc is an RDoc formatter that produces HTML documentation and is maintained by James Britt.
An .rdoc file is a text-based documentation source file. It can contain prose and RDoc markup that RubyDoc processes when building documentation, rather than the completed HTML output itself.
The extension is linked with RubyDoc on Microsoft Windows and with Middleman on Apple macOS and Mac OS X.
On Microsoft Windows, open the file with RubyDoc to process its RDoc markup and generate documentation. On Apple macOS or Mac OS X, Middleman can use the file in a documentation or site-generation workflow.
Because an .rdoc file is text-based, a text editor can also be used to inspect or edit its contents, although it will not render the resulting documentation.
There is usually no need to convert an .rdoc file to another source format. Use RubyDoc to render it as HTML documentation; Middleman can incorporate the source into a generated site on macOS.
The generated HTML is an output document rather than a replacement .rdoc file. Preserve the original file if its RDoc markup may need further editing.
Software applications that can open rdoc files:
Software applications that can edit rdoc files:
Microsoft Windows
Software capable of saving rdoc files:
Microsoft Windows
Software apps that create rdoc files:
Microsoft Windows