Skip to main content

API Documentation

Programmatic access to DataValidate Pro conversion and validation tools. All conversions run client-side in your browser.

All processing happens client-side. No server API calls required.

Overview

DataValidate Pro tools are implemented as client-side JavaScript functions. While we don't provide a traditional REST API, you can use our conversion libraries directly in your own JavaScript/TypeScript projects, or replicate the functionality using the same open-source libraries we use.

This documentation provides code examples for common conversions using popular libraries and command-line tools.

YAML ↔ JSON Conversion

JavaScript / Node.js

Using js-yaml library:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

Python

Using PyYAML library:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

Command Line (yq)

Using yq command-line tool:

1
2
3
4
5
6
7
8
9
10

CSV ↔ JSON Conversion

JavaScript / Node.js

Using papaparse library:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

Python

Using Python's built-in csv module:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

Command Line (csvkit)

Using csvkit toolkit:

1
2
3
4
5
6
7
8
9
10

XML ↔ JSON Conversion

JavaScript / Node.js

Using xml-js library:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

Python

Using xmltodict library:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

JWT Decoding

JavaScript / Node.js

Using jsonwebtoken library:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

Python

Using PyJWT library:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

Command Line (base64)

Basic JWT decoding without verification:

1
2
3
4
5
6
7
8
9
10
11
12

Base64 Encoding/Decoding

JavaScript / Node.js

1
2
3
4
5
6
7
8
9
10
11
12
13
14

Python

1
2
3
4
5
6
7
8
9
10
11
12
13
14

Command Line

1
2
3
4
5
6
7
8
9
10
11

Recommended Libraries

JavaScript / TypeScript

  • js-yaml - YAML parser and dumper
  • papaparse - Powerful CSV parser
  • xml-js - XML to JSON converter
  • jsonwebtoken - JWT implementation

Python

  • PyYAML - YAML parser and emitter
  • csv - Built-in CSV module
  • xmltodict - XML to dict converter
  • PyJWT - JWT implementation

Try Our Online Tools

Looking for a quick conversion without writing code? Try our browser-based tools:

Need more advanced text processing tools? Check out TextDiff for powerful text comparison and diff utilities.

For more developer tools, visit AnnotateFast.

DataValidate Pro

DataValidate Pro

Developer data validation & conversion suite

Privacy First

All processing happens in your browser. Your data never leaves your device.

Read our Privacy Policy →

Info

© 2026 DataValidate Pro

Free tools for developers

?Keyboard shortcuts

Disclaimer: The tools provided on DataValidate Pro are for informational and development purposes only. While we strive for accuracy, these tools should not be relied upon for critical business decisions, legal compliance, security assessments, or production deployments without proper validation. Always verify results independently and consult with qualified professionals for important decisions. We make no warranties about the accuracy, reliability, or completeness of any conversions or validations performed by these tools.