0:00
uh hello guys uh welcome to this video
0:02
so in this video I will show you a
0:05
online tool that I developed uh in my
0:10
freemediatools.com/txt PDF editor uh so
0:13
it's a PDF and text editor where you
0:16
have the ability to actually paste any
0:18
text inside this text area and we have
0:21
two options either we can export that
0:23
text to a TXT file or we can save it as
0:26
a PDF file so we have these two buttons
0:28
out there and here inside the text area
0:32
you can actually write any text so let's
0:34
me just uh paste some uh random text
0:41
anything let me paste this whole
0:43
paragraph just copy and uh go to this
0:47
tool right click paste so as soon as you
0:49
paste it if I simply first of all click
0:52
this button right here save as text you
0:55
will see it will actually create a text
0:57
file which will contain this data but if
1:00
I click this button now save as PDF you
1:02
will see the PDF file will get created
1:05
and you can see the PDF file has been
1:07
downloaded let me open it you will see
1:10
automatically it will create four pages
1:13
because depending upon the length of the
1:15
text you will see that this is the first
1:17
page second page third page and the
1:20
fourth page you can see the spacing and
1:22
the formatting of the text is quite good
1:24
it automatically detects how much space
1:26
is required for the amount of text that
1:29
you have pasted so it's a nice little
1:31
PDF and text uh generator file generator
1:35
you come to the tool you simply paste
1:37
your text and then simply click the
1:39
button so it's a static tool it is
1:41
entirely built in the browser itself
1:43
with using JavaScript and HTML uh no
1:46
serverside code is involved right here
1:48
so if you want to purchase this tool the
1:52
link is given in the description so let
1:54
me show you the source
1:56
code so this is actually three line
1:59
three files are there HTML JavaScript
2:02
and CSS so we are actually using this
2:05
library called as JSPDF which if you
2:08
don't know JSPDF is an open-source
2:11
JavaScript library for generating PDF
2:14
documents so if you just write here
2:17
JSPDF so this is actually their
2:20
website official documentation so we are
2:23
using this package or library to build
2:25
this PDF and text generation application
2:29
you can test out this tool as well uh
2:32
directly live here before purchasing it
2:34
you will see this is a tool that you
2:36
will get so you come to this tool simply
2:40
paste your text we also have the clear
2:42
button which will clear out delete
2:44
everything again paste click save you
2:46
will see instantly your PDF file will be
2:49
generated and coming back to the code
2:51
here we have three files here this is
2:53
actually your HTML file then we have the
2:56
styles file right here this is our
2:59
JavaScript file right here so we are
3:06
library you can see that so it's a
3:09
static tool uh it doesn't require any
3:11
server it's very easy to deploy as well
3:13
if you once you get the source code you
3:15
will get a zip file just extract the zip
3:18
file you will get these three files and
3:21
you can modify the source code as well
3:23
if you get the source code and it's very
3:26
easy to modify just go to this
3:28
JavaScript file here add additional
3:30
features as well so basically you can
3:34
uh depending upon whether you get the
3:36
source code if you purchase it the link
3:38
is given in the description before
3:40
purchasing it you can check out the live
3:42
demo which is mentioned on the check out
3:44
page so the procordstore.com just go to
3:46
it and purchase the full source code and
3:49
thank you very much guys for watching
3:51
this video and I will be seeing you in