trang mạng:Công cụ Mạng tự do cho nhà phát triển CommentNội dung
FreeOnlineToolsForDevelopers-FreeFormatter.com window.dataLayer=window.dataLayer||[]; functiongt(){dataLayer.push(arguments);} gt('js',newDate()); gt('config','G-0BGQDKW33P'); !function(){vari,r,o;i="__tcfapiLocator",r=[],(o=window.frames[i])||(functione(){vart=window.document,a=!!o;if(!a)if(t.body){varn=t.createElement("iframe");n.style.cssText="display:none",n.name=i,t.body.appendChild(n)}elsesetTimeout(e,5);return!a}(),window.__tcfapi=function(){for(vare,t=[],a=0;aFFFREEFORMATTER.COMFreeOnlineToolsForDevelopers Formatters XMLFormatter JSONFormatter HTMLFormatter SQLFormatter Validators XMLValidator JSONValidator HTMLValidator XPathTester CreditCardNumberGenerator&Validator RegularExpressionTester JaRegularExpressionTester CronExpressionGenerator(Quartz) Converters XSDGenerator XSLT(XSLTransformer) XMLtoJSONConverter JSONtoXMLConverter CSVtoXMLConverter CSVtoJSONConverter YAMLtoJSONConverter JSONtoYAMLConverter EpochTimestampToDate Encoders/Cryptography UrlEncoder&Decoder Base64Encoder&Decoder ConvertFileEncoding MesseDigester(MD5,SHA-256,SHA-512) HMACGenerator QRCodeGenerator CodeMinifiers/Beautifier JaScriptBeautifier JaScriptMinifier CSSBeautifier CSSMinifier StringEscaper&Utilities StringUtilities HTMLEscape XMLEscape Jaand.NetEscape JaScriptEscape JSONEscape CSVEscape SQLEscape WebResources LoremIpsumGenerator ListofMIMEtypes HTMLEntities UrlParser/QueryStringSplitter I18NStandards/CodeSnippets (adsbygoogle=window.adsbygoogle||[]).push({}); FreeOnlineToolsForDevelopers Icreatedthiswebsitetohelpdevelopersbyprovidingthemwithfreeonlinetools.Thesetoolsincludeseveralformatters,validators,codeminifiers,stringescapers,encodersanddecoders,messedigesters,webresourcesandmore. Iwilladdnewtoolsonaregularbasis,sobesuretoaddthissitetoyourbookmarks. Ifyouencounterabug,Iwouldverymuchappreciatethatyousendmeanemail([email160;protected])thatexplainsthenatureofyourbug.Pleaseincludedetailslikewhichbrowserversionyou'reusingandthestepstoreproducethebug.Othercommentsarewelcome. -MrForms (adsbygoogle=window.adsbygoogle||[]).push({}); -Listoftools- JSONFormatter/Beautifier FormatsaJSONstring/filewithyourdesiredindentationlevelcreatinganobjecttreewithcolorhighlights.Youcannowclearlyidentifyobjectconstructs(objects,arraysandmembers).TheJSONtreethatiscreatedcanbenigatedbycollapsingtheindividualnodesoneatatimeifdesired. FormatsyourJSONstring/filewithchoice6indentationlevels:2spaces,3spaces,4spaces,compactmode,JaScriptescapedandtabseparated CreatesatreerepresentationoftheJSONobjectsforeasynigation ColorhighlightsthedifferentconstructofyourJSONobjects Supportscopy-pasteorfileupload HTMLFormatter/Beautifier FormatsaHTMLstring/filewithyourdesiredindentationlevel.TheformattingrulesarenotconfigurablebutIthinkitprovidestheuserwiththebestpossibleoutput. FormatstheHTMLwith4indentationlevels:2spaces,3spaces,4spacesandtabseparated ColorhighlightsthedifferentconstructofyourHTMLdocument Supportscopy-pasteorfileupload XMLFormatter/Beautifier FormatsaXMLstring/filewithyourdesiredindentationlevel.Theformattingrulesarenotconfigurablebutitusesaper-elementindentationpatterngivingthebestreadability. FormatstheXMLwith4indentationlevels:2spaces,3paces,4spacesandtabseparated ColorhighlightsthedifferentconstructofyourXMLdocument Supportscopy-pasteorfileupload SQLFormatter/Beautifier FormatsanySQLquerywithyourdesiredindentationlevel,evenifyourSQLstatementisinvalid.YoucanmodifythecaseoftheSQLkeywordsandidentifierstouppercase,lowercaseorkeepthemas-is. ThisSQLbeautifierisespeciallyusefulforSELECTstatements,butcanalsohandleINSERT,UPDATEandDELETEstatements.ItwasbuilttobenosticofthedatabasethatistargetedandshouldsupportMySQL,MicrosoftSQLServer,OracleandotherSQLANSIdatabases. FormatstheSQLwith4indentationlevels:2spaces,3paces,4spacesandtabseparated FormatstheSQLregardlessofthevalidityofthestatement Changethecaseofkeywordsoridentifierstouppercase,lowercaseorkeepthemas-is Databasenostic SupportsSELECT,INSERT,UPDATEandDELETEstatements Supportscopy-pasteorfileupload JSONValidator ValidatesaJSONstringainstRFC4627(Theapplication/jsonmediatypeforJaScriptObjectNotation)andainsttheJaScriptlanguespecification.Youcanconfigurethevalidatortobelenientorstrict. ValidatesyourJSONstring/fileainstRFC4627ineitherstrictorlenientmode ValidatesyourJSONstring/fileainsttheJaScriptspecification Supportscopy-pasteorfileupload HTMLValidator ValidatestheHTMLstring/fileforwell-formednessandcompliancewithw3cstandards.Ittriestomakeuseofthedoctypedeclarationtoevaluatethedocumentstructruebutwillresorttobestpracticeifunmatched.Thevalidatorwillreportonmissingorinvalidattributes,unknownts,unclosedtsandmore. ValidatesyourHTMLstring/fileusingthedoctypeifpossibleorthe'bestpractices'ifnot Checksforinvalidts,missingorinvalidattributes,unclosedmarkeupandmuchmore Supportscopy-pasteorfileupload XMLValidator(XSD) ValidatestheXMLstring/fileainstthespecifiedXSDstring/file.XSDfilesare"XMLSchemas"thatdescribethestructureofaXMLdocument. Thevalidatorchecksforwell-formednessfirst,meaningthatyourXMLfilemustbeparsableusingaDOM/SAXparser.Onlythendoesitvalidate yourXMLainsttheXMLSchema.Thevalidatorwillreportfatalerrors,non-fatalerrorsandwarnings. ValidatesyourXMLstring/fileusingtheprovidedXSDstring/file Supportscopy-pasteorfileupload XPathTester ExecutesanXPathqueryainstanXMLfile.ThisonlineXPathtesterwilloutputtheactualmatchedXMLcontentalongwiththeXMLitemtype (Element,Text,CData,Attribute,etc.).Eachmatchisdisplayedonasinglelineandthisallowsyoualsoextractasubsetofdataifdesired. XPath2.0/3.0compatible. XPath2.0/3.0compatible SupportsXMLnamespaces ExtensivesupportofXPathfunctions ReportstheitemtypeofthematchedXMLparts Supportscopy-pasteorfileupload CreditCardNumberGenerator&Validator Validatescreditcardnumbersandalsogeneratesfakecreditcardnumbersforallmajorbrands.Obviouslythesenumberarefortestingpurposes andwillnotworkwithapaymentprocessor.AlsocontainsafulldocumentationandexampleoftheLuhnalgorithmusedtovalidatemostcreditcards(Mod10). Validatescreditcardnumbers Listofallcardnumberformatspercardissuer Randomcreditcardnumbergeneratorforallmajorbrands Luhnalgorithmexplained RegularExpressionTester Thisregularexpressiontesterwillhighlighteverymatchintheoriginalstringsothatyouknowexactlywhereamatchoccurs. Itcanbeconfiguredtobecase-insensitive,workinmulti-linemodeandperformglobalmatches.Italsosupportsstringreplacements throughwithgroups.ItrunsainstaJaengine. Highlightsallmatchesintheoriginalstring SupportstheDOTALLfl;i.e.thedotmetacharactermatcheseverythingincludinglinebreaks Supportscase-insensitive,multilineandglobalfls Extensivelistofexamplesandregularexpressionrecipes Supportsstringreplacements JaRegularExpressionTester ThisfreeJaregularexpressiontesterletsyoutestyourregularexpressionsainstanyentryofyourchoiceandclearlyhighlightsallmatches. ItisbasedonthePatternclassofJa8.0. BasedonJaPatternClass(Ja8.0) Highlightsallmatchesintheoriginalstringandshowsextensivegroupdetails SupportsJaPatternFls(dotall,multiline,unixlines,etc.) Extensivelistofexamplesandregularexpressionrecipes Supportsstringreplacements CronExpressionGenerator-Quartz Generateaquartzcronexpressionwithaneasytouseonlineinterface.Convertacronexpressionintoareadabletextthatclearlyexplainswhenitwill execute,andvisualizethenextexecutiondatesofyourcronexpression. Convertacronexpressiontotext Generatecronexpressionusingsimpleuserinterface Shownextruntimeofcronexpression Previewmostcommonlyusedcronexpressionexamples XSDGenerator GeneratesaXSD(XMLSchema)fromaXMLfile.Simplycopy-pasteORuploadyourXMLdocumentandletthegeneratorfigureouttherest.Thegeneratorwilltrytousea'smart'approachtofigureoutthedatatype(youcanalwaysrefineitafter). SupportsXMLnamespaces Properlyguessesthedatatypesusingprovideddata Supports3designs:RussianDoll,SalamiSliceandVenetianBlind XSLTransformer(XSLT) TransformsanXMLfileusinganXSLfile(XSLTransformation).Youcanalsoselectyourdesiredindentationlevelintheoutput. SupportsXMLnamespaces FormatstheresultingXMLwith5indentationlevels:2spaces,3spaces,4spaces,compactandtabseparated Supportscopy-pasteorfileupload XMLValidator(XSD) ValidatestheXMLstring/fileainstthespecifiedXSDstring/file.XSDfilesare"XMLSchemas"thatdescribCông cụ Mạng tự do cho nhà phát triển CommentethestructureofaXMLdocument. Thevalidatorchecksforwell-formednessfirst,meaningthatyourXMLfilemustbeparsableusingaDOM/SAXparser.Onlythendoesitvalidate yourXMLainsttheXMLSchema.Thevalidatorwillreportfatalerrors,non-fatalerrorsandwarnings. ValidatesyourXMLstring/fileusingtheprovidedXSDstring/file Supportscopy-pasteorfileupload XMLtoJSONConverter ConvertsanXMLfileintoaJSONfile.Youcanalsoselectyourdesiredindentationlevelintheoutput. Let'syouspecifyaprefixforXMLattributeswhenconvertedtoJSONproperties Let'syouspecifythenameoftheJSONpropertiesusedtorepresent#textitemtypes FormatsyourJSONstring/filewith6indentationlevel:2spaces,3spaces,4spaces,compactmode,JaScriptescapedandtabseparated CreatesatreerepresentationoftheJSONobjectsforeasynigation(iffileisunder1meg,elseformatsasplaintext) ColorhighlightsthedifferentconstructofyourJSONobjects Supportscopy-pasteorfileupload JSONtoXMLConverter ConvertsaJSONfileintoanXMLfile.Youcanalsoselectyourdesiredindentationlevelintheoutput. Let'syouspecifythenameoftherootelementandthenameofarrayelements FormatsyourXMLstring/filewith5indentationlevels:2spaces,3spaces,4spaces,compactmodeandtabseparated Supportscopy-pasteorfileupload CSVtoXMLConverter ConvertsaCSVfileintoaXMLfile.Youcanalsoselectyourdesiredindentationlevelintheoutput.DefineaXMLsnippetthatwill beappliedtoeachlineoftheCSVanduseplaceholderstosubstitutethevalues. Supportsmultiplequoteanddelimitercharacters FormatsyourXMLstring/filewith5indentationlevels:2spaces,3spaces,4spaces,compactmodeandtabseparated Supportscopy-pasteorfileupload YAMLtoJSONConverter ConvertsaYAMLfileintoaJSONfile.Youcanalsoselectyourdesiredindentationlevelintheoutput. FormatsyourJSONstring/filewith6indentationlevel:2spaces,3spaces,4spaces,compactmode,JaScrCông cụ Mạng tự do cho nhà phát triển CommentiptescapedandtabseparatedCông cụ Mạng tự do cho nhà phát triển Comment CreatesatreerepresentationoftheJSONobjectsforeasynigation(iffileisunder1meg,elseformatsasplaintext) Supportscopy-pasteorfileupload JSONtoYAMLConverter ConvertsaJSONfileintoaYAMLfile. ProvidescolorhighlightsofthedifferentYAMLconstructforgreaterclarity Supportscopy-pasteorfileupload EpochTimestampToDate Convertsanepoch/unixtimestampintoahumanreadabledate.Italsoletsyoudotheinverse,i.e.convertsahumanreadabledateintoanepoch/unixtimestamp.Italso displaysthecurrentepoch/unixtimestampinbothsecondsandmilliseconds. Displaysthecurrentepochtimestampinsecondsandmilliseconds Convertsepochtimestampsfromseconds/millisecondstohumanreadabledate Convertshumanreadabledatesintoepochtimestamps UrlEncoder&Decoder EncodesordecodesastringsothatitconformstothetheUniformResourceLocatorsSpecification-URL(RFC1738). ThespecificationsaysthatonlythefollowingcharactersareallowedinaURL"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz89$-_.+!*'()".Therefore,allothercharacterswillbeencodedtoatwodigithexadecimalvaluethatrepresentsthecharacterintheproperISOcharacterset. Base64Encoder&Decoder EncodesordecodesastringorabinaryfilesothatitconformstotheBase64DataEncodingsspecification(RFC4648). ConvertFileEncoding Changestheencodingofafiletoanotherone.Forexample,thistoolwillallowyoutochangetheencodingofyourfilefromISO-8859-1toUTF-8orfromUTF-8toUTF-16. Whatencodingismyfileusing?Thistoolwilltrytoauto-detecttheencodingusedinthefileandtellyou. MesseDigester Computesadigestfromastringusingdifferentalgorithms.Supportsthefollowingalgorithms:MD2,MD4,MD5,SHA1,SHA-224,SHA-256,SHA-384,SHA-512,RIPEMD128,RIPEMD160,RIPEMD320,Tiger,Whirlpool,GOST3411. HMACGenerator/Checker ComputesaHash-basedmesseauthenticationcode(HMAC)usingdifferentalgorithms.Supportsthefollowingalgorithms:HMACMD2,HMACMD4,HMACMD5,HMACSHA1,HMACSHA224,HMACSHA256,HMACSHA384, HMACSHA512,HMACRIPEMD128,HMACRIPEMD160,DESMAC,DESMAC/CFB8,DESEDEMAC,DESEDEMAC64,DESEDEMAC/CFB8,DESEDEMAC64WITHISO7816-4PADDING, GOSTMAC,IDEAMAC,IDEAMAC/CFB8,ISO9797ALG3MAC,ISO9797ALG3WITHISO7816-4PADDING,PBEWITHHMACSHA,PBEWITHHMACSHA1,PBEWITHHMACRIPEMD160, RC2MAC,RC2MAC/CFB8,RC5MAC,RC5MAC/CFB8,SKIPJACKMAC,SKIPJACKMAC/CFB8,HMACTIGER. QRCodeGenerator GeneratesQRcodesusingvariousstandardssuchasAddressBook/ContactInformation(VCARD),Events(VEVENT),Emails(MAILTO),GEOCoordinates(GEO),SMS(SMSTO),Telephones(TEL),URLsandWiFiconnections.YoucanalsochooseyourerrorcorrectionlevelfromthestandardsL(Low7%),M(Medium15%),Q(Quartile25%)andH(High30%). JaScriptBeautifier FormatsyourJSfilesforoptimalreadability.ThisJaScriptbeautifiertoolletsyouchooseyourindentationlevelsandhowyouwantbracestobegenerated BeautifiesyourJaScriptusingeithertabs,2spaces,3spacesor4spaces Choosedifferentbracestyles:collapsed,expanded,orexpandedwithnewline Automaticallyaddsspacesbeforefunctionsandconditionalstatementsforoptimalreadability CSSBeautifier FormatsyourCSSfilesforoptimalreadability.ThisCSSbeautifiertoolletsyouchooseyourindentationlevels. BeautifiesyourCSSusingeithertabs,2spaces,3spacesor4spaces Automaticallyaddsemptylinesbetweendefinitions JaScriptMinifier CompressesaJaScriptstring/filewithnopossibleside-effect. Nopossibleside-effectoncode Removesuselesswhitespaces,indentationcharactersandlinebreaks Replaceslocalvariablenameswithsmalleronesandtakescareofsubstitutingthereferences Doesnotmodifyevalstatementbecauseofpossibleoverboardeffects CSSMinifier CompressesaCSSstring/filewithnopossibleside-effect. Removesuselesswhitespaces,indentationcharactersandlinebreaks Stripsallcomments Removesthelastsemi-colonofastyledeclaration Removesextrasemi-colons RemovesemptyCSSdeclarations Removesmeasureunitswhenusingzerovalues Removestheleading0ifafloatvalueislowerthanone ChancesRGBcolorvaluestoashorterhexadecimalformat Hexadecimalcolorsfollowingthepattern#AABBCCarereducedto#ABC KeepsasinglecharsetperCSSfileremovingallextradeclarations Nonevaluesareconvertedto0wheneversafetodoso StringUtilities OnlinestringutilitieswritteninJaScript. Convertastringtolowercaseoruppercase Charactercount Wordcount Reversestring Stringsplitter Detailedcharacterinformation(decimal,octal,hexadecimal,unicode,htmlentity,etc.) HTMLEscape EscapesorunescapesanHTMLfileremovingtracesofoffendingcharactersthatcouldbewrongfullyinterpretedasmarkup. EscapesallreserverdcharacterswiththeircorrespondingHTMLentities(',",&,<,>) EscapesISO8859-1symbolsandcharactersthathecorrespondingHTMLentities XMLEscape EscapesorunescapesanXMLfileremovingtracesofoffendingcharactersthatcouldbewrongfullyinterpretedasmarkup. Jaand.NetEscape EscapesorunescapesaJaor.Netstringremovingtracesofoffendingcharactersthatcouldpreventcompiling. JaScriptEscape EscapesorunescapesaJaScriptstringremovingtracesofoffendingcharactersthatcouldpreventinterpretation. JSONEscape EscapesorunescapesaJSONstringremovingtracesofoffendingcharactersthatcouldpreventparsing. CSVEscape EscapesorunescapesaCSVstringremovingtracesofoffendingcharactersthatcouldpreventparsing. SQLEscape EscapesorunescapesaSQLstringremovingtracesofoffendingcharactersthatcouldpreventparsing. LoremIpsumGenerator Theloremipsumgeneratorletsyouchoosehowmanysentences,parraphsorlistitemsyouwant.YoucanalsoselecttoincludeHTMLmarkupandspecifyhowbigthetextshouldbe. ListofMIMEtypes IhecompiledafulllistofMIMEtypesusingthe"mime.types"fileoftheApacheserver.Itookthelibertyofaddinganame/descriptionforeachMIMEtypesothatit'sclearerwhattheyrepresent.Ihealsoincludedasignificantlinkforeachtypewithmoredetailsforit. HTMLEntities CompletelistofHTMLentitieswiththeirnumbersandnames.AlsoincludedisafulllistofASCIIcharactersthatcanberepresentedinHTML(i.e.printablecharacters). UrlParser/QueryStringSplitter ThistoolsparsesaURLintoitsindividualcomponents(protocol,scheme,userinfo,host,port,authority,path,resource,etc.)andalsosplitsthequerystringintoahumanreadableformat.Italsodecodeseachquerystringparametertomakethemeasiertounderstand. i18n-HTML,XML,JSON,SQLsnippets Includesadetailedlistofformattingstandardsfordates,time,decimals,currenciesandmorewithcodesnippetsinJa,C#,JaScriptandPHP.Italsoprovidescodesnippetsforprovinces,states,regions,districtsandcountiesinHTML,CSV,XML,JSONandSQL. ISOcountrylist-HTMLselectsnippet USAstatelist-HTMLselectsnippet Canadaprovincelist-HTMLselectsnippet Mexicostatelist-HTMLselectsnippet Timezonelist-HTMLselectsnippet Argentina Australia Brazil Canada Colombia France Germany India Indonesia Israel Italy Mexico Netherlands Pakistan Philippines Poland Romania Spain Sweden Turkey Ukraine UnitedKingdom UnitedStates Vietnam (adsbygoogle=window.adsbygoogle||[]).push({}); ©FreeFormatter.com-FREEFORMATTERisad/b/aofCanadaInc.-Notice-PrivacyStatement-TermsofUse-Contact