Conversion-Tool.com

FREE ONLINE CONVERSION TOOLS

Developers & Website Owners

Offer your website┬┤s visitors easy means to convert media. All conversion-tool.com converters can be easily integrated using URL parameters.

Website integration

Most conversion tools can be called using their url with the url encoded remote file location. The following example calls the MIDI converter with the URL "http://www.free-midi.org/midi1/j/jason_mraz-93_million_miles.mid":

Note: Parameters can be passed either directly in the URL (GET) or using POST (multipart). All parameters which are sent via GET have to be url encoded. All parameters sent via POST must not be url encoded.

Audio and Video Downloader parameters

The Audio/Video Download has no additional parameters.

Audio converter parameters

The following audio parameters are supported (all parameters are optional):

  • videoportal: Set this to 1 if the remote file should be downloaded from a video portal.
  • mediatrimstart: Set the start time of the media file. The format is HH:MM:SS where HH are hours, MM minutes, SS seconds. For instance "00:00:10" skips the first 10 seconds of the media file.
  • mediatrimend: Set the end time of the media file. The format is HH:MM:SS where HH are hours, MM minutes, SS seconds. For instance "00:01:00" converts the first minute of the media file.
  • audiochannels: 1: mono, 2: stereo.
  • audiobitrate: The index of the audio bitrate to use (0 means do not change). For instance for MP3 "audiobitrate=11" sets the bit rate to 128kbit/s. Note: The valid indices vary between different output formats.
  • audiovbr: Set this to 1 to enable variable bit rate encoding. This feature is not supported for all output formats.
  • audiosamplerate: The index of the audio sample rate to use (0 means do not change). Note: The valid indices vary between different output formats.

Base64 converter parameters

The following parameters are supported:

  • inputtext: The text which should be encoded or decoded.
  • fmt: 0: encode, 1: decode.

Document converter parameters

The following parameters are supported:

  • outformat: The output format (for instance doc,docx, or odt). This parameter is not available for all formats.
  • mediatrimstart: The first page to output*.
  • mediatrimend: The last page to output*.
*Note: setting the pagerange does not work for all formats and can lead to corrupt output files.

eBook converter parameters

The following parameters are supported:

  • inputencoding: The encoding used for reading the source file. This parameter should only be used if the source file is corrupt or has no encoding information.

Hash converter parameters

The following parameters are supported:

  • inputtext: The text which should be hashed.
  • inputkey: A key used for hashing (using HMAC).
  • fmt: 0: hexadecimal lower case, 1: hexadecimal upper case, 2: hexadecimal lower case with ":" separator, 3: hexadecimal upper case with ":" separator , 4: base64 encodeded output.

HTML Entity converter parameters

The following parameters are supported:

  • inputtext: The text which should be encoded or decoded.
  • fmt: 0: encode, 1: decode.

MIDI converter parameters

The following parameters are supported (all parameters are optional):

  • soundfont: The index of the sound font to use.
  • transpose: The index of number of semi-tones to transpose.
  • tempo: The index of percentage to change the audio speed.
  • mididelay: Set this to 1 to enable the delay effect.
  • midichorus: Set this to 1 to enable the chorus effect.
  • midireverb: Set this to 1 to enable the reverb effect.
  • audioformat: The index of the output audio format to use (1: MP3, 2:M4A/AAC, 3: WAV), starting with 1.
  • mediatrimstart: Set the start time of the media file. The format is HH:MM:SS where HH are hours, MM minutes, SS seconds. For instance "00:00:10" skips the first 10 seconds of the media file.
  • mediatrimend: Set the end time of the media file. The format is HH:MM:SS where HH are hours, MM minutes, SS seconds. For instance "00:01:00" converts the first minute of the media file.
  • audiochannels: 1: mono, 2: stereo.
  • audiobitrate: The index of the audio bitrate to use (0 means do not change). For instance for MP3 "audiobitrate=11" sets the bit rate to 128kbit/s. Note: The valid indices vary between different output formats.
  • audiovbr: Set this to 1 to enable variable bit rate encoding. This feature is not supported for all output formats.
  • audiosamplerate: The index of the audio sample rate to use (0 means do not change). Note: The valid indices vary between different output formats.

PDF file locker

The following parameters are supported:

  • userpassword: an optional PDF user password.
  • ownerpassword: an optional PDF owner password.
  • optprint: 1: enable printing protection.
  • optmodify: 1: enable document modification protection.
  • optextract: 1: enable docuement content extraction protection.
  • optannotate: 1: enable document annotation protection.

PDF file unlocker

The following parameters are supported:

  • pdfpassword: An optional password if the input file is password protected.

URL Encode/Decode parameters

The following parameters are supported:

  • inputtext: The text which should be encoded or decoded.
  • fmt: 0: encode, 1: decode.
  • perc: 1: encode spaces using percentage encoding.