Withdata Software

Convert RDF to CSV

Have an RDF file (.rdf, .owl, .ttl, .n3, .nt, .nq) and need it in CSV ? Withdata Data File Converter reads every common RDF serialization — RDF/XML (.rdf, .owl), Turtle (.ttl, .n3), N-Triples (.nt) and N-Quads (.nq) — and saves it as CSV.

Download Withdata DataFileConverter
Windows 64 bit
Windows 32 bit
Linux .deb (For Debian, Ubuntu) 64 bit
Linux .rpm (For Red Hat, Fedora, SUSE) 64 bit
MacOS 64 bit

How RDF maps to CSV

RDF is not a table. It is a graph written as triples — subject – predicate – object — so exporting it to CSV means deciding how the graph maps onto rows and columns. Data File Converter does that for you:

In the RDF file In the CSV file
Subject (an IRI or a blank node) one row
Predicate (an IRI such as foaf:name) one column, named after the last part of the IRI
Object (IRI, literal, or blank node) the cell value for that row and column
rdf:type a Type column
Several values for the same predicate merged into one cell, or split into several rows
Plain literal ("text") text cell
Typed literal ("1234"^^xsd:int, "2026-09-18"^^xsd:date) number / date cell when CSV supports it, otherwise text
Language-tagged literal ("Hello"@en) text cell (the language tag is dropped)

Long IRIs are shortened to readable column names, and blank nodes keep their identifiers. When the source is Turtle, N-Triples or N-Quads, prefixes and @base are resolved first, so a foaf: prefix and the full http://xmlns.com/foaf/0.1/ property land in the same column.

And for converting other RDF formats to CSV: Turtle(.ttl, .n3), N-Triples(.nt, .ntriples), N-Quads(.nq, .nquads).

Need to convert between RDF formats (Turtle, RDF/XML, N-Triples, N-Quads, JSON-LD) instead of to a table? See RDFConverter (coming soon).

Convert RDF file (.rdf, .owl, .ttl, .nt, .nq) to CSV file

Choose RDF file -> Set CSV options -> Convert RDF to CSV

Click “Start a New Convert”.

then show the wizard.

Select source/target file type.

1. Open an RDF file (.rdf, .owl, .ttl, .nt, .nq).

2. Config target CSV file.

3. Set rows options.

4. Convert RDF to CSV.

See CSV file

RDF to CSV FAQ

Which RDF formats can I convert?

RDF/XML (.rdf, .owl), Turtle (.ttl, .n3), N-Triples (.nt) and N-Quads (.nq).

How are RDF triples turned into rows and columns?

Each distinct subject becomes a row, each predicate becomes a column, and the object becomes the cell value. When a subject has several values for one predicate, they are merged into one cell or split into separate rows, depending on the rows option.

Can it handle large RDF files?

Yes. The file is read and converted locally, so the limit is your disk and memory rather than an upload size cap.

Does it convert RDF to a database as well?

Yes — the same RDF parser feeds FileToDB for Access, SQL Server, MySQL, PostgreSQL, SQLite and more.

Can I schedule or automate the conversion?

Yes. Save the session as a command-line script and run it from Windows Task Scheduler or Linux/macOS cron.


More about RDF to CSV converter

RDF → CSV reference

Type mapping

Value kindin RDFin CSV
Int"1234"^^xsd:int1234
Bigint"9007199254740993"^^xsd:long9007199254740993
Decimal"1234.56"^^xsd:decimal1234.56
Float"1.234e10"^^xsd:double1.234e+10
Textplain literal without a datatypequoted only when it contains a comma or a quote
Long textplain literal; newlines allowed insidemust be quoted; line breaks inside force multi-line records
Date"2026-09-18"^^xsd:date2026-09-18
Datetime"2026-09-18T14:30:00Z"^^xsd:dateTime2026-09-18 14:30:00
Binary"base64..."^^xsd:base64Binarynot representable - base64 or hex string
Boolean"true"^^xsd:booleanTRUE / FALSE, or 1 / 0 depending on the writer
JSONa literal, or reified as its own sub-graphthe whole JSON value quoted, with internal quotes doubled

Dialect differences

Both RDF and CSV are file formats, so what differs below is how each one chooses to represent a value.

Propertyin RDFin CSV
identifiersXML attribute quoting; entities for reserved charactersDouble quotes; a literal quote is doubled ("" )
datesxsd:dateTime typed literalsConventional text: 2026-09-18 or 2026-09-18 14:30:00
binaryxsd:base64Binary typed literalsNot supported
separatorXML elements (rdf:Description / rdf:resource)Comma ","
encodingDeclared in the XML declarationNo declaration - UTF-8 works only with a BOM
typingEvery value is a resource or a typed literalNone - every field is text
shapeGraph of triples; there are no rows or columnsFlat table, optional header row
ceilingWhole document is usually parsed into memoryNo formal limit; row count bounded by memory

Convert RDF to CSV online, free

RDF to CSV converter — runs in your browser, nothing is uploaded.

New to the format? Read what an RDF file is (and how it maps to rows and columns).